Click or drag to resize

KratosWebClient Class

Inheritance Hierarchy

Namespace:  Kratos_3.Network
Assembly:  Kratos_3 (in Kratos_3.dll) Version: 3.6.2.0 (3.6.2.0)
Syntax
public class KratosWebClient : WebClient

The KratosWebClient type exposes the following members.

Constructors
  NameDescription
Public methodKratosWebClient(IConfigManager)
Initializes a new instance of the KratosWebClient class
Public methodKratosWebClient(IConfigManager, IEventLogger)
Initializes a new instance of the KratosWebClient class
Top
Properties
  NameDescription
Public propertyAllowReadStreamBuffering Obsolete. (Inherited from WebClient.)
Public propertyAllowWriteStreamBuffering Obsolete. (Inherited from WebClient.)
Public propertyBaseAddress
Gets or sets the base URI for requests made by a WebClient.
(Inherited from WebClient.)
Public propertyCachePolicy
Gets or sets the application's cache policy for any resources obtained by this WebClient instance using WebRequest objects.
(Inherited from WebClient.)
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyCookieContainer
Public propertyCredentials
Gets or sets the network credentials that are sent to the host and used to authenticate the request.
(Inherited from WebClient.)
Public propertyEncoding
Gets and sets the Encoding used to upload and download strings.
(Inherited from WebClient.)
Public propertyHeaders
Gets or sets a collection of header name/value pairs associated with the request.
(Inherited from WebClient.)
Public propertyIsBusy
Gets whether a Web request is in progress.
(Inherited from WebClient.)
Public propertyProxy
Gets or sets the proxy used by this WebClient object.
(Inherited from WebClient.)
Public propertyQueryString
Gets or sets a collection of query name/value pairs associated with the request.
(Inherited from WebClient.)
Public propertyResponseHeaders
Gets a collection of header name/value pairs associated with the response.
(Inherited from WebClient.)
Public propertySite
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public propertyUseDefaultCredentials
Gets or sets a Boolean value that controls whether the DefaultCredentials are sent with requests.
(Inherited from WebClient.)
Top
Methods
  NameDescription
Public methodCancelAsync
Cancels a pending asynchronous operation.
(Inherited from WebClient.)
Public methodCreateObjRef
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 methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Public methodDownloadData(String)
Downloads the resource with the specified URI as a Byte array.
(Inherited from WebClient.)
Public methodDownloadData(Uri)
Downloads the resource with the specified URI as a Byte array.
(Inherited from WebClient.)
Public methodDownloadDataAsync(Uri)
Downloads the specified resource as a Byte array. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodDownloadDataAsync(Uri, Object)
Downloads the specified resource as a Byte array. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodDownloadDataTaskAsync(String) (Inherited from WebClient.)
Public methodDownloadDataTaskAsync(Uri) (Inherited from WebClient.)
Public methodDownloadFile(String, String)
Downloads the resource with the specified URI to a local file.
(Inherited from WebClient.)
Public methodDownloadFile(Uri, String)
Downloads the resource with the specified URI to a local file.
(Inherited from WebClient.)
Public methodDownloadFileAsync(Uri, String)
Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodDownloadFileAsync(Uri, String, Object)
Downloads, to a local file, the resource with the specified URI. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodDownloadFileTaskAsync(String, String) (Inherited from WebClient.)
Public methodDownloadFileTaskAsync(Uri, String) (Inherited from WebClient.)
Public methodDownloadString(String)
Downloads the requested resource as a String. The resource to download is specified as a String containing the URI.
(Inherited from WebClient.)
Public methodDownloadString(Uri)
Downloads the requested resource as a String. The resource to download is specified as a Uri.
(Inherited from WebClient.)
Public methodDownloadStringAsync(Uri)
Downloads the resource specified as a Uri. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodDownloadStringAsync(Uri, Object)
Downloads the specified string to the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodDownloadStringTaskAsync(String) (Inherited from WebClient.)
Public methodDownloadStringTaskAsync(Uri) (Inherited from WebClient.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodisReserved
Public methodOpenRead(String)
Opens a readable stream for the data downloaded from a resource with the URI specified as a String.
(Inherited from WebClient.)
Public methodOpenRead(Uri)
Opens a readable stream for the data downloaded from a resource with the URI specified as a Uri
(Inherited from WebClient.)
Public methodOpenReadAsync(Uri)
Opens a readable stream containing the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodOpenReadAsync(Uri, Object)
Opens a readable stream containing the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodOpenReadTaskAsync(String) (Inherited from WebClient.)
Public methodOpenReadTaskAsync(Uri) (Inherited from WebClient.)
Public methodOpenWrite(String)
Opens a stream for writing data to the specified resource.
(Inherited from WebClient.)
Public methodOpenWrite(Uri)
Opens a stream for writing data to the specified resource.
(Inherited from WebClient.)
Public methodOpenWrite(String, String)
Opens a stream for writing data to the specified resource, using the specified method.
(Inherited from WebClient.)
Public methodOpenWrite(Uri, String)
Opens a stream for writing data to the specified resource, by using the specified method.
(Inherited from WebClient.)
Public methodOpenWriteAsync(Uri)
Opens a stream for writing data to the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodOpenWriteAsync(Uri, String)
Opens a stream for writing data to the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodOpenWriteAsync(Uri, String, Object)
Opens a stream for writing data to the specified resource, using the specified method. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodOpenWriteTaskAsync(String) (Inherited from WebClient.)
Public methodOpenWriteTaskAsync(Uri) (Inherited from WebClient.)
Public methodOpenWriteTaskAsync(String, String) (Inherited from WebClient.)
Public methodOpenWriteTaskAsync(Uri, String) (Inherited from WebClient.)
Public methodreserve
Public methodsetCtr
Public methodsetUserAgent
Public methodToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)
Public methodUploadData(String, Byte)
Uploads a data buffer to a resource identified by a URI.
(Inherited from WebClient.)
Public methodUploadData(Uri, Byte)
Uploads a data buffer to a resource identified by a URI.
(Inherited from WebClient.)
Public methodUploadData(String, String, Byte)
Uploads a data buffer to the specified resource, using the specified method.
(Inherited from WebClient.)
Public methodUploadData(Uri, String, Byte)
Uploads a data buffer to the specified resource, using the specified method.
(Inherited from WebClient.)
Public methodUploadDataAsync(Uri, Byte)
Uploads a data buffer to a resource identified by a URI, using the POST method. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadDataAsync(Uri, String, Byte)
Uploads a data buffer to a resource identified by a URI, using the specified method. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadDataAsync(Uri, String, Byte, Object)
Uploads a data buffer to a resource identified by a URI, using the specified method and identifying token.
(Inherited from WebClient.)
Public methodUploadDataTaskAsync(String, Byte) (Inherited from WebClient.)
Public methodUploadDataTaskAsync(Uri, Byte) (Inherited from WebClient.)
Public methodUploadDataTaskAsync(String, String, Byte) (Inherited from WebClient.)
Public methodUploadDataTaskAsync(Uri, String, Byte) (Inherited from WebClient.)
Public methodUploadFile(String, String)
Uploads the specified local file to a resource with the specified URI.
(Inherited from WebClient.)
Public methodUploadFile(Uri, String)
Uploads the specified local file to a resource with the specified URI.
(Inherited from WebClient.)
Public methodUploadFile(String, String, String)
Uploads the specified local file to the specified resource, using the specified method.
(Inherited from WebClient.)
Public methodUploadFile(Uri, String, String)
Uploads the specified local file to the specified resource, using the specified method.
(Inherited from WebClient.)
Public methodUploadFileAsync(Uri, String)
Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadFileAsync(Uri, String, String)
Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadFileAsync(Uri, String, String, Object)
Uploads the specified local file to the specified resource, using the POST method. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadFileTaskAsync(String, String) (Inherited from WebClient.)
Public methodUploadFileTaskAsync(Uri, String) (Inherited from WebClient.)
Public methodUploadFileTaskAsync(String, String, String) (Inherited from WebClient.)
Public methodUploadFileTaskAsync(Uri, String, String) (Inherited from WebClient.)
Public methodUploadString(String, String)
Uploads the specified string to the specified resource, using the POST method.
(Inherited from WebClient.)
Public methodUploadString(Uri, String)
Uploads the specified string to the specified resource, using the POST method.
(Inherited from WebClient.)
Public methodUploadString(String, String, String)
Uploads the specified string to the specified resource, using the specified method.
(Inherited from WebClient.)
Public methodUploadString(Uri, String, String)
Uploads the specified string to the specified resource, using the specified method.
(Inherited from WebClient.)
Public methodUploadStringAsync(Uri, String)
Uploads the specified string to the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadStringAsync(Uri, String, String)
Uploads the specified string to the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadStringAsync(Uri, String, String, Object)
Uploads the specified string to the specified resource. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadStringTaskAsync(String, String) (Inherited from WebClient.)
Public methodUploadStringTaskAsync(Uri, String) (Inherited from WebClient.)
Public methodUploadStringTaskAsync(String, String, String) (Inherited from WebClient.)
Public methodUploadStringTaskAsync(Uri, String, String) (Inherited from WebClient.)
Public methodUploadValues(String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI.
(Inherited from WebClient.)
Public methodUploadValues(Uri, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI.
(Inherited from WebClient.)
Public methodUploadValues(String, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.
(Inherited from WebClient.)
Public methodUploadValues(Uri, String, NameValueCollection)
Uploads the specified name/value collection to the resource identified by the specified URI, using the specified method.
(Inherited from WebClient.)
Public methodUploadValuesAsync(Uri, NameValueCollection)
Uploads the data in the specified name/value collection to the resource identified by the specified URI. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadValuesAsync(Uri, String, NameValueCollection)
Uploads the data in the specified name/value collection to the resource identified by the specified URI, using the specified method. This method does not block the calling thread.
(Inherited from WebClient.)
Public methodUploadValuesAsync(Uri, String, NameValueCollection, Object)
Uploads the data in the specified name/value collection to the resource identified by the specified URI, using the specified method. This method does not block the calling thread, and allows the caller to pass an object to the method that is invoked when the operation completes.
(Inherited from WebClient.)
Public methodUploadValuesTaskAsync(String, NameValueCollection) (Inherited from WebClient.)
Public methodUploadValuesTaskAsync(Uri, NameValueCollection) (Inherited from WebClient.)
Public methodUploadValuesTaskAsync(String, String, NameValueCollection) (Inherited from WebClient.)
Public methodUploadValuesTaskAsync(Uri, String, NameValueCollection) (Inherited from WebClient.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Public eventDownloadDataCompleted
Occurs when an asynchronous data download operation completes.
(Inherited from WebClient.)
Public eventDownloadFileCompleted
Occurs when an asynchronous file download operation completes.
(Inherited from WebClient.)
Public eventDownloadProgressChanged
Occurs when an asynchronous download operation successfully transfers some or all of the data.
(Inherited from WebClient.)
Public eventDownloadStringCompleted
Occurs when an asynchronous resource-download operation completes.
(Inherited from WebClient.)
Public eventOpenReadCompleted
Occurs when an asynchronous operation to open a stream containing a resource completes.
(Inherited from WebClient.)
Public eventOpenWriteCompleted
Occurs when an asynchronous operation to open a stream to write data to a resource completes.
(Inherited from WebClient.)
Public eventUploadDataCompleted
Occurs when an asynchronous data-upload operation completes.
(Inherited from WebClient.)
Public eventUploadFileCompleted
Occurs when an asynchronous file-upload operation completes.
(Inherited from WebClient.)
Public eventUploadProgressChanged
Occurs when an asynchronous upload operation successfully transfers some or all of the data.
(Inherited from WebClient.)
Public eventUploadStringCompleted
Occurs when an asynchronous string-upload operation completes.
(Inherited from WebClient.)
Public eventUploadValuesCompleted
Occurs when an asynchronous upload of a name/value collection completes.
(Inherited from WebClient.)
Public eventWriteStreamClosed Obsolete. (Inherited from WebClient.)
Top
See Also