Export (0) Print
Expand All

FileWebRequest Members

Provides a file system implementation of the WebRequest class.

The following tables list the members exposed by the FileWebRequest type.

  Name Description
Protected method FileWebRequest Initializes a new instance of the FileWebRequest class from the specified instances of the SerializationInfo and StreamingContext classes.
Top

  Name Description
Public property AuthenticationLevel  Gets or sets values indicating the level of authentication and impersonation used for this request.(Inherited from WebRequest.)
Public property CachePolicy  Gets or sets the cache policy for this request.(Inherited from WebRequest.)
Public property ConnectionGroupName Overridden. Gets or sets the name of the connection group for the request. This property is reserved for future use.
Public property ContentLength Overridden. Gets or sets the content length of the data being sent.
Public property ContentType Overridden. Gets or sets the content type of the data being sent. This property is reserved for future use.
Public property Credentials Overridden. Gets or sets the credentials that are associated with this request. This property is reserved for future use.
Public property Static DefaultCachePolicy  Gets or sets the default cache policy for this request.(Inherited from WebRequest.)
Public property Static DefaultWebProxy  Gets or sets the global HTTP proxy.(Inherited from WebRequest.)
Public property Headers Overridden. Gets a collection of the name/value pairs that are associated with the request. This property is reserved for future use.
Public property ImpersonationLevel  Gets or sets the impersonation level for the current request.(Inherited from WebRequest.)
Public property Method Overridden. Gets or sets the protocol method used for the request. This property is reserved for future use.
Public property PreAuthenticate Overridden. Gets or sets a value that indicates whether to preauthenticate a request. This property is reserved for future use.
Public property Proxy Overridden. Gets or sets the network proxy to use for this request. This property is reserved for future use.
Public property RequestUri Overridden. Gets the Uniform Resource Identifier (URI) of the request.
Public property Timeout Overridden. Gets or sets the length of time until the request times out.
Public property UseDefaultCredentials Overridden. Always throws a NotSupportedException.
Top

(see also Protected Methods )
  Name Description
Public method Abort Overridden. Cancels a request to an Internet resource.
Public method BeginGetRequestStream Overridden. Begins an asynchronous request for a Stream object to use to write data.
Public method BeginGetResponse Overridden. Begins an asynchronous request for a file system resource.
Public method Static Create  Overloaded. Initializes a new WebRequest. (Inherited from WebRequest.)
Public method Static CreateDefault  Initializes a new WebRequest instance for the specified URI scheme. (Inherited from WebRequest.)
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method EndGetRequestStream Overridden. Ends an asynchronous request for a Stream instance that the application uses to write data.
Public method EndGetResponse Overridden. Ends an asynchronous request for a file system resource.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetRequestStream Overridden. Returns a Stream object for writing data to the file system resource.
Public method GetResponse Overridden. Returns a response to a file system request.
Public method Static GetSystemWebProxy  Returns a proxy configured with the Internet Explorer settings of the currently impersonated user. (Inherited from WebRequest.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static RegisterPrefix  Registers a WebRequest descendant for the specified URI. (Inherited from WebRequest.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method 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.)
Protected method GetObjectData Overridden. Populates a SerializationInfo with the data needed to serialize the target object.
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Top

  Name Description
Explicit interface implementation Method System.Runtime.Serialization.ISerializable.GetObjectData Populates a SerializationInfo object with the required data to serialize the FileWebRequest.
Top

Community Additions

ADD
Show:
© 2014 Microsoft