C# Tutorial Web Client

Download

  1. Download the requested resource as a String in CSharp
  2. Download the resource as a Byte array from the URI specified in CSharp
  3. Download the resource with the specified URI to a local file in CSharp
  4. Get and set the Encoding used to upload and download strings in CSharp
  5. Open a readable stream for the data downloaded from a resource with the URI specified as a String in CSharp
  6. Open a readable stream for the data downloaded from a resource with the URI specified as a Uri in CSharp
  1. Get a collection of header name/value pairs associated with the response in CSharp
  2. Get or set a collection of header name/value pairs associated with the request in CSharp
  1. Get cookie from a host in CSharp

Basic

  1. Get or set a Boolean value that controls whether the DefaultCredentials are sent with requests in CSharp

Query

  1. Get or set a collection of query name/value pairs associated with the request in CSharp

Upload

  1. Open a stream for writing data to the specified resource in CSharp
  2. Upload the specified local file to a resource with the specified URI in CSharp
  3. Upload the specified local file to the specified resource, using the specified method in CSharp
  4. Upload the specified string to the specified resource, using the POST method in CSharp




















Home »
  C# Tutorial »
    Network »




IP
Web Client