C# Class System.Net.TlsStream

Inheritance: NetworkStream, IDisposable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public AuthenticateAsClient ( ) : void
Résultat void

BeginAuthenticateAsClient() public méthode

public BeginAuthenticateAsClient ( AsyncCallback asyncCallback, object state ) : IAsyncResult
asyncCallback AsyncCallback
state object
Résultat IAsyncResult

BeginRead() public méthode

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

BeginWrite() public méthode

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

Close() public méthode

public Close ( ) : void
Résultat void

EndAuthenticateAsClient() public méthode

public EndAuthenticateAsClient ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
Résultat void

EndRead() public méthode

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
Résultat int

EndWrite() public méthode

public EndWrite ( IAsyncResult result ) : void
result IAsyncResult
Résultat void

Read() public méthode

public Read ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
Résultat int

TlsStream() public méthode

public TlsStream ( NetworkStream stream, Socket socket ) : System.Net.Security
stream NetworkStream
socket Socket
Résultat System.Net.Security

TlsStream() public méthode

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
Résultat System.Net.Security

Write() public méthode

public Write ( byte buffer, int offset, int size ) : void
buffer byte
offset int
size int
Résultat void