C# Class System.Net.WebClient.WebClientWriteStream

Inheritance: System.IO.Stream
Show file Open project: gbarnett/shared-source-cli-2.0

Public Methods

Method Description
EndRead ( IAsyncResult result ) : int
EndWrite ( IAsyncResult result ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
WebClientWriteStream ( Stream stream, WebRequest request, WebClient webClient ) : System.Collections.Specialized
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
BeginRead ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndRead() public method

public EndRead ( IAsyncResult result ) : int
result IAsyncResult
return int

EndWrite() public method

public EndWrite ( IAsyncResult result ) : void
result IAsyncResult
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

WebClientWriteStream() public method

public WebClientWriteStream ( Stream stream, WebRequest request, WebClient webClient ) : System.Collections.Specialized
stream System.IO.Stream
request WebRequest
webClient WebClient
return System.Collections.Specialized

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void