C# Class PRI.ProductivityExtensions.SslStreamExtensions.SslStreamable

Class that contains extension methods that extend SslStream
Afficher le fichier Open project: peteraritchie/ProductivityExtensions

Méthodes publiques

Méthode Description
BeginAuthenticateAsClient ( this sslstream, String targetHost, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginAuthenticateAsClient so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsClient(targetHost, asyncCallback);

BeginAuthenticateAsClient ( this sslstream, String targetHost, System clientCertificates, System enabledSslProtocols, System.Boolean checkCertificateRevocation, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginAuthenticateAsClient so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsClient(targetHost, clientCertificates, enabledSslProtocols, checkCertificateRevocation, asyncCallback);

BeginAuthenticateAsServer ( this sslstream, System serverCertificate, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginAuthenticateAsServer so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsServer(serverCertificate, asyncCallback);

BeginAuthenticateAsServer ( this sslstream, System serverCertificate, System.Boolean clientCertificateRequired, System enabledSslProtocols, System.Boolean checkCertificateRevocation, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginAuthenticateAsServer so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsServer(serverCertificate, clientCertificateRequired, enabledSslProtocols, checkCertificateRevocation, asyncCallback);

BeginRead ( this sslstream, Byte buffer, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. sslstream.BeginRead(buffer, asyncCallback);

BeginRead ( this sslstream, Byte buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginRead so that when a state object is not needed, null does not need to be passed. sslstream.BeginRead(buffer, offset, count, asyncCallback);

BeginWrite ( this sslstream, Byte buffer, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. sslstream.BeginWrite(buffer, asyncCallback);

BeginWrite ( this sslstream, Byte buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. sslstream.BeginWrite(buffer, offset, count, asyncCallback);

Method Details

BeginAuthenticateAsClient() public static méthode

Extends BeginAuthenticateAsClient so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsClient(targetHost, asyncCallback);
public static BeginAuthenticateAsClient ( this sslstream, String targetHost, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
targetHost String
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginAuthenticateAsClient() public static méthode

Extends BeginAuthenticateAsClient so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsClient(targetHost, clientCertificates, enabledSslProtocols, checkCertificateRevocation, asyncCallback);
public static BeginAuthenticateAsClient ( this sslstream, String targetHost, System clientCertificates, System enabledSslProtocols, System.Boolean checkCertificateRevocation, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
targetHost String
clientCertificates System
enabledSslProtocols System
checkCertificateRevocation System.Boolean
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginAuthenticateAsServer() public static méthode

Extends BeginAuthenticateAsServer so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsServer(serverCertificate, asyncCallback);
public static BeginAuthenticateAsServer ( this sslstream, System serverCertificate, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
serverCertificate System
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginAuthenticateAsServer() public static méthode

Extends BeginAuthenticateAsServer so that when a state object is not needed, null does not need to be passed. sslstream.BeginAuthenticateAsServer(serverCertificate, clientCertificateRequired, enabledSslProtocols, checkCertificateRevocation, asyncCallback);
public static BeginAuthenticateAsServer ( this sslstream, System serverCertificate, System.Boolean clientCertificateRequired, System enabledSslProtocols, System.Boolean checkCertificateRevocation, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
serverCertificate System
clientCertificateRequired System.Boolean
enabledSslProtocols System
checkCertificateRevocation System.Boolean
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginRead() public static méthode

Extends BeginRead so that buffer offset of 0 and call to Array.Length are not needed. sslstream.BeginRead(buffer, asyncCallback);
public static BeginRead ( this sslstream, Byte buffer, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
buffer Byte
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginRead() public static méthode

Extends BeginRead so that when a state object is not needed, null does not need to be passed. sslstream.BeginRead(buffer, offset, count, asyncCallback);
public static BeginRead ( this sslstream, Byte buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
buffer Byte
offset System.Int32
count System.Int32
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginWrite() public static méthode

Extends BeginWrite so that buffer offset of 0 and call to Array.Length are not needed. sslstream.BeginWrite(buffer, asyncCallback);
public static BeginWrite ( this sslstream, Byte buffer, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
buffer Byte
asyncCallback AsyncCallback
Résultat IAsyncResult

BeginWrite() public static méthode

Extends BeginWrite so that when a state object is not needed, null does not need to be passed. sslstream.BeginWrite(buffer, offset, count, asyncCallback);
public static BeginWrite ( this sslstream, Byte buffer, Int32 offset, Int32 count, AsyncCallback asyncCallback ) : IAsyncResult
sslstream this
buffer Byte
offset System.Int32
count System.Int32
asyncCallback AsyncCallback
Résultat IAsyncResult