System.Net.FileWebResponse.GetResponseStream Method

Returns the data stream from the file system resource.

Syntax

public override System.IO.Stream GetResponseStream ()

Returns

A System.IO.Stream for reading data from the file system resource.

Remarks

The FileWebResponse.GetResponseStream method returns the data stream from the file system resource.

Note:

The response stream must be closed to avoid running out of system resources. The response stream can be closed by calling System.IO.Stream.Close or FileWebResponse.Close

Requirements

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