HttpRequestBase.GetBufferlessInputStream Method (Boolean)

.NET Framework (current version)
 

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 Overridable Function GetBufferlessInputStream (
	disableMaxRequestLength As Boolean
) As Stream

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
Available since 4.5
Return to top
Show: