Provides a file system implementation of the WebResponse class.
Assembly: System (in System.dll)
Thetype exposes the following members.
|ContentLength||Gets the length of the content in the file system resource. (Overrides WebResponse.ContentLength.)|
|ContentType||Gets the content type of the file system resource. (Overrides WebResponse.ContentType.)|
|Headers||Gets a collection of header name/value pairs associated with the response. (Overrides WebResponse.Headers.)|
|IsFromCache||Gets a Boolean value that indicates whether this response was obtained from the cache. (Inherited from WebResponse.)|
|IsMutuallyAuthenticated||Gets a Boolean value that indicates whether mutual authentication occurred. (Inherited from WebResponse.)|
|ResponseUri||Gets the URI of the file system resource that provided the response. (Overrides WebResponse.ResponseUri.)|
|Close||Closes the response stream. (Overrides WebResponse.Close().)|
|CreateObjRef||Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetLifetimeService||Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|GetObjectData||Populates a SerializationInfo with the data needed to serialize the target object. (Overrides WebResponse.GetObjectData(SerializationInfo, StreamingContext).)|
|GetResponseStream||Returns the data stream from the file system resource. (Overrides WebResponse.GetResponseStream().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|InitializeLifetimeService||Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)|
|MemberwiseClone()||Creates a shallow copy of the current Object. (Inherited from Object.)|
|MemberwiseClone(Boolean)||Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
The class relies on the File class for error handling and code access security.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.