System.Net.FileWebResponse Class

Provides a file system implementation of the System.Net.WebResponse class.

See Also: FileWebResponse Members


public class FileWebResponse : WebResponse, IDisposable, System.Runtime.Serialization.ISerializable


The System.Net.FileWebResponse class implements the System.Net.WebResponse abstract base class to return file system resources for the System.Net.FileWebRequest class.

Client applications do not create System.Net.FileWebResponse instances directly; instead, they are created by calling the FileWebRequest.GetResponse method on a System.Net.FileWebRequest instance.

The FileWebResponse.GetResponseStream method returns a System.IO.Stream instance that provides read-only access to a file system resource.

The System.Net.FileWebResponse class relies on the System.IO.File class for error handling and code access security.


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