System.Web.HttpResponse.OutputStream Property

Enables binary output to the outgoing HTTP content body.

Syntax

public System.IO.Stream OutputStream { get; }

Value

a System.IO.Stream

Remarks

Starting with the .NET Framework versionĀ 2.0, when you use the System.IO.Stream.Write(Byte[], int, int) method of the IO stream returned by the HttpResponse.OutputStream property, the following exceptions might be thrown:

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0