Mono Class Library: Overview

System.Net.WebRequest: Members

The members of System.Net.WebRequest are listed below.

See Also: Inherited members from System.MarshalByRefObject

Protected Constructors

Constructs a new instance of the System.Net.WebRequest class.
Documentation for this section has not yet been entered.

Public Properties

AuthenticationLevelSystem.Net.Security.AuthenticationLevel. Documentation for this section has not yet been entered.
CachePolicySystem.Net.Cache.RequestCachePolicy. Documentation for this section has not yet been entered.
ConnectionGroupNamestring. Gets or sets the name of the connection group for the current instance.
ContentLengthlong. Gets or sets the content length of the request data being sent.
ContentTypestring. Gets or sets the content type of the request data being sent.
CredentialsICredentials. Gets or sets the credentials used for authenticating the client using the current instance.
static
DefaultCachePolicySystem.Net.Cache.RequestCachePolicy. Documentation for this section has not yet been entered.
static
DefaultWebProxyIWebProxy. Documentation for this section has not yet been entered.
HeadersWebHeaderCollection. Gets or sets the collection of header name/value pairs associated with the request.
ImpersonationLevelSystem.Security.Principal.TokenImpersonationLevel. Documentation for this section has not yet been entered.
Methodstring. Gets or sets the protocol method to use in the current instance.
PreAuthenticatebool. Gets or sets a bool value that determines whether to send authentication information with the current request instead of waiting for an authentication challenge from the requested resource.
ProxyIWebProxy. Gets or sets the network proxy to use to access resources.
[read-only]
RequestUriUri. Gets the Uri of the resource associated with the current instance.
Timeoutint. Gets or sets the length of time before requests for resources time out.
UseDefaultCredentialsbool. Documentation for this section has not yet been entered.

Public Methods

Abort()
Attempts to cancel an asynchronous request made by the current instance to access a resource.
BeginGetRequestStream(AsyncCallback, object) : IAsyncResult
Begins an asynchronous request for a stream in which to write data to be sent in the current request.
BeginGetResponse(AsyncCallback, object) : IAsyncResult
Begins sending the current request asynchronously.
static
Create(string) : WebRequest
Constructs a new instance of a class derived from System.Net.WebRequest. The new instance is of the type registered for the scheme of the specified URI.
static
Create(Uri) : WebRequest
Constructs a new instance of a class derived from System.Net.WebRequest.
static
CreateDefault(Uri) : WebRequest
Constructs a new instance of a class derived from System.Net.WebRequest. The new instance is of the type registered for the scheme of the specified URI.
EndGetRequestStream(IAsyncResult) : System.IO.Stream
Returns a System.IO.Stream for writing data to the resource identified by the WebRequest.RequestUri property of the current instance.
EndGetResponse(IAsyncResult) : WebResponse
Returns a System.Net.WebResponse that contains a response to a specified pending request.
GetRequestStream() : System.IO.Stream
Returns a System.IO.Stream for writing data to a resource.
GetResponse() : WebResponse
Returns a response to a request.
static
GetSystemWebProxy() : IWebProxy
Documentation for this section has not yet been entered.
static
RegisterPrefix(string, IWebRequestCreate) : bool
Registers a type derived from System.Net.WebRequest, and associates the type with the specified URI.

Protected Methods

Explicitly Implemented Interface Members

System.Runtime.Serialization.ISerializable.GetObjectDataDocumentation for this section has not yet been entered.