PowerTCP Emulation for .NET
AuthenticateAsClient(ClientSecurity) Method




Security parameters used during authentication.
Authenticates the server when establishing a secure connection.
Syntax
<SecuritySafeCriticalAttribute()>
<ObsoleteAttribute("Use AuthenticateAsClient(TcpSession) instead.")>
Public Overloads Sub AuthenticateAsClient( _
   ByVal security As ClientSecurity _
) 
Dim instance As TcpBase
Dim security As ClientSecurity
 
instance.AuthenticateAsClient(security)
[SecuritySafeCritical()]
[Obsolete("Use AuthenticateAsClient(TcpSession) instead.")]
public void AuthenticateAsClient( 
   ClientSecurity security
)
[SecuritySafeCritical()]
[Obsolete("Use AuthenticateAsClient(TcpSession) instead.")]
public: void AuthenticateAsClient( 
   ClientSecurity* security
) 
[SecuritySafeCritical()]
[Obsolete("Use AuthenticateAsClient(TcpSession) instead.")]
public:
void AuthenticateAsClient( 
   ClientSecurity^ security
) 

Parameters

security
Security parameters used during authentication.
Remarks

The security.TargetHost should match the server certificate name. If authentication fails, an AuthenticationException will occur.

To accept or reject a certificate "on-the-fly" implement a ClientSecurity.ValidationCallback function.

To select a client certificate "on-the-fly" implement a ClientSecurity.SelectionCallback function.

See Also

Reference

TcpBase Class
TcpBase Members
Overload List


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic