In The Hand LtdIn The Hand
FileWebResponse Class
NamespacesInTheHand.NetFileWebResponse
.NET Components for Mobility
Provides a file system implementation of the WebResponse class.
Declaration Syntax
C#Visual Basic
public class FileWebResponse : WebResponse
Public Class FileWebResponse _
	Inherits WebResponse
Members
All MembersMethodsProperties



IconMemberDescription
Close()()()()
Frees the resources held by the response.
(Overrides WebResponse.Close()()()().)
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.)
CreateObjRef(Type)
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 attempt to free resources and perform other cleanup operations before the Object 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(SerializationInfo, StreamingContext)
Populates a SerializationInfo with the data that is needed to serialize the target object.
(Inherited from WebResponse.)
GetResponseStream()()()()
Returns the data stream from the file system resource.
(Overrides WebResponse.GetResponseStream()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Headers
When overridden in a derived class, gets a collection of header name-value pairs associated with this request.
(Inherited from WebResponse.)
InitializeLifetimeService()()()()
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
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.)
MemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
ResponseUri
Gets the URI that sent the response to the request.
(Overrides WebResponse.ResponseUri.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks

Equivalent to System.Net.FileWebResponse

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

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

The GetResponseStream()()()() method returns a Stream instance that provides read-only access to a file system resource.

Inheritance Hierarchy

Assembly: InTheHand.Net (Module: InTheHand.Net) Version: 7.0.0.0