ARSoft.Tools.Net - C# DNS client/server, SPF and SenderID Library
AuthenticateAsClient Method
The name of the server
The port of the server
The protocol used to communicate with the server
The X509CertificateCollection that contains client certificates.
The SslProtocols value that represents the protocol used for authentication.
A Boolean value that specifies whether the certificate revocation list is checked during authentication.
Called by clients to authenticate the server and optionally the client in a client-server connection.
Syntax
public void AuthenticateAsClient( 
   System.string targetHost,
   System.int port,
   System.Net.Sockets.ProtocolType protocol,
   System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates,
   System.Security.Authentication.SslProtocols enabledSslProtocols,
   System.bool checkCertificateRevocation
)

Parameters

targetHost
The name of the server
port
The port of the server
protocol
The protocol used to communicate with the server
clientCertificates
The X509CertificateCollection that contains client certificates.
enabledSslProtocols
The SslProtocols value that represents the protocol used for authentication.
checkCertificateRevocation
A Boolean value that specifies whether the certificate revocation list is checked during authentication.
See Also

Reference

DaneStream Class
DaneStream Members

 

 


© 2010-2015 Alexander Reinert. All Rights Reserved.

Send Feedback


This documentation was created using Document! X