HttpRequest::Filter Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the filter to use when reading the current input stream.

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

public:
property Stream^ Filter {
	Stream^ get();
	void set(Stream^ value);
}

Property Value

Type: System.IO::Stream^

A Stream object to be used as the filter.

Exception Condition
HttpException

The specified Stream is invalid.

The following code example creates two new classes, QQQ1 and QQQ2 that filter the InputStream. Put the classes into the Global.asax file in an ASP.NET application's directory so that all input for all ASP.NET Web pages in the application will be filtered.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: