Export (0) Print
Expand All

HttpWebResponse Members

HttpWebResponse overview

Public Properties

public propertyCharacterSet

Supported by the .NET Compact Framework.

Gets the character set of the response.
public propertyContentEncoding

Supported by the .NET Compact Framework.

Gets the method used to encode the body of the response.
public propertyContentLength

Supported by the .NET Compact Framework.

Overridden. Gets the length of the content returned by the request.
public propertyContentType

Supported by the .NET Compact Framework.

Overridden. Gets the content type of the response.
public propertyCookies Gets or sets the cookies associated with this response.
public propertyHeaders

Supported by the .NET Compact Framework.

Overridden. Gets the headers associated with this response from the server.
public propertyLastModified

Supported by the .NET Compact Framework.

Gets the last date and time that the contents of the response were modified.
public propertyMethod

Supported by the .NET Compact Framework.

Gets the method used to return the response.
public propertyProtocolVersion

Supported by the .NET Compact Framework.

Gets the version of the HTTP protocol used in the response.
public propertyResponseUri

Supported by the .NET Compact Framework.

Overridden. Gets the URI of the Internet resource that responded to the request.
public propertyServer

Supported by the .NET Compact Framework.

Gets the name of the server that sent the response.
public propertyStatusCode

Supported by the .NET Compact Framework.

Gets the status of the response.
public propertyStatusDescription

Supported by the .NET Compact Framework.

Gets the status description returned with the response.

Public Methods

public methodClose

Supported by the .NET Compact Framework.

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)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. See Object.GetHashCode.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetResponseHeader

Supported by the .NET Compact Framework.

Gets the contents of a header that was returned with the response.
public methodGetResponseStream

Supported by the .NET Compact Framework.

Overridden. Gets the stream used to read the body of the response from the server.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

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)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Protected Constructors

protected constructorHttpWebResponse Constructor Initializes a new instance of the HttpWebResponse class from the specified SerializationInfo and StreamingContext instances.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

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)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

HttpWebResponse Class | System.Net Namespace

Show:
© 2014 Microsoft