Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebRequest Properties

The properties of the WebRequest class are listed here. For a complete list of WebRequest class members, see the WebRequest Members topic.

Public Properties

public propertyConnectionGroupName

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets or sets the name of the connection group for the request.
public propertyContentLength

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets or sets the content length of the request data being sent.
public propertyContentType

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets or sets the content type of the request data being sent.
public propertyCredentials

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets or sets the network credentials used for authenticating the request with the Internet resource.
public propertyHeaders

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets or sets the collection of header name/value pairs associated with the request.
public propertyMethod

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets or sets the protocol method to use in this request.
public propertyPreAuthenticate

Supported by the .NET Compact Framework.

When overridden in a descendant class, indicates whether to preauthenticate the request.
public propertyProxy

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets or sets the network proxy to use to access this Internet resource.
public propertyRequestUri

Supported by the .NET Compact Framework.

When overridden in a descendant class, gets the URI of the Internet resource associated with the request.
public propertyTimeout

Supported by the .NET Compact Framework.

Gets or sets the length of time before the request times out.

See Also

WebRequest Class | System.Net Namespace

Show:
© 2014 Microsoft. All rights reserved.