This documentation is archived and is not being maintained.

FileWebResponse Members

FileWebResponse overview

Public Properties

public propertyContentLength Overridden. Gets the length of the content in the file system resource.
public propertyContentType Overridden. Gets the content type of the file system resource.
public propertyHeaders Overridden. Gets a collection of header name/value pairs associated with the response.
public propertyResponseUri Overridden. Gets the URI of the file system resource that provided the response.

Public Methods

public methodClose Overridden. Closes the response stream.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetResponseStream Overridden. Returns the data stream from the file system resource.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Protected Constructors

protected constructorFileWebResponse Constructor Initializes a new instance of the FileWebResponse class from the specified instances of the SerializationInfo and StreamingContext classes.

Protected Methods

protected methodDispose Releases the unmanaged resources used by the FileWebResponse and optionally releases the managed resources.
protected methodFinalize (inherited from Object) Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

FileWebResponse Class | System.Net Namespace