TlsStream.AuthenticateAsClient Method
Namespace: Rebex.Net
Assembly: Rebex.Tls.dll (version 7.0.9119)
AuthenticateAsClient(String)
Performs TLS negotiation. This TlsStream will behave as a TLS client. To configure security parameters use the Parameters property.
Declaration
public void AuthenticateAsClient(string serverName)
Parameters
Type | Name | Description |
---|---|---|
String | serverName | TLS/SSL server's common name. |
AuthenticateAsClient(TlsClientSettings)
Performs TLS negotiation. This TlsStream will behave as a TLS client.
To configure security parameters not available in settings
use the Parameters property.
Declaration
public virtual void AuthenticateAsClient(TlsClientSettings settings)
Parameters
Type | Name | Description |
---|---|---|
TlsClientSettings | settings | TLS/SSL security settings. |