C# Class System.Net.TlsStream

Inheritance: NetworkStream, IDisposable
Show file Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
AuthenticateAsClient ( ) : void
BeginAuthenticateAsClient ( AsyncCallback asyncCallback, object state ) : IAsyncResult
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
Close ( ) : void
EndAuthenticateAsClient ( IAsyncResult asyncResult ) : void
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult result ) : void
Read ( byte buffer, int offset, int size ) : int
TlsStream ( NetworkStream stream, Socket socket ) : System.Net.Security
TlsStream ( NetworkStream stream, Socket socket, string host, X509CertificateCollection clientCertificates ) : System.Net.Security
Write ( byte buffer, int offset, int size ) : void

Method Details

AuthenticateAsClient() public method

public AuthenticateAsClient ( ) : void
return void

BeginAuthenticateAsClient() public method

public BeginAuthenticateAsClient ( AsyncCallback asyncCallback, object state ) : IAsyncResult
asyncCallback AsyncCallback
state object
return IAsyncResult

BeginRead() public method

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int size, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
size int
callback AsyncCallback
state object
return IAsyncResult

Close() public method

public Close ( ) : void
return void

EndAuthenticateAsClient() public method

public EndAuthenticateAsClient ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

EndRead() public method

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

EndWrite() public method

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

Read() public method

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

TlsStream() public method

public TlsStream ( NetworkStream stream, Socket socket ) : System.Net.Security
stream NetworkStream
socket Socket
return System.Net.Security

TlsStream() public method

public TlsStream ( NetworkStream stream, Socket socket, string host, X509CertificateCollection clientCertificates ) : System.Net.Security
stream NetworkStream
socket Socket
host string
clientCertificates System.Security.Cryptography.X509Certificates.X509CertificateCollection
return System.Net.Security

Write() public method

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