Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetBufferlessInputStream Method (Boolean)
Collapse the table of content
Expand the table of content

HttpRequestBase.GetBufferlessInputStream Method (Boolean)

.NET Framework 4.6 and 4.5

When implemented in a derived class, gets a Stream object that can be used to read the incoming HTTP entity body, optionally disabling the request length limit that is set in the MaxRequestLength property.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual Stream GetBufferlessInputStream(
	bool disableMaxRequestLength
)

Parameters

disableMaxRequestLength
Type: System.Boolean

true to disable the request length limit; otherwise, false.

Return Value

Type: System.IO.Stream
A Stream object that can be used to read the incoming HTTP entity body.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft