PowerTCP Telnet for .NET CF
RemoteCertificateValidationCallback Delegate
See Also  Send comments on this topic.
Dart.Common Namespace : RemoteCertificateValidationCallback Delegate




sender
An object that contains state information for this validation.
certificate
The certificate used to authenticate the remote party.
chain
The chain of certificate authorities associated with the remote certificate. Not implemented (always null).
sslPolicyErrors
One or more errors associated with the remote certificate.
Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication.

Syntax

Visual Basic (Declaration) 
Public Delegate Function RemoteCertificateValidationCallback( _
   ByVal sender As Object, _
   ByVal certificate As X509Certificate, _
   ByVal chain As X509Chain, _
   ByVal sslPolicyErrors As SslPolicyErrors _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As New RemoteCertificateValidationCallback(AddressOf HandlerMethod)
C# 
public delegate bool RemoteCertificateValidationCallback( 
   object sender,
   X509Certificate certificate,
   X509Chain chain,
   SslPolicyErrors sslPolicyErrors
)
Managed Extensions for C++ 
public: __gc __delegate bool RemoteCertificateValidationCallback( 
   Object* sender,
   X509Certificate* certificate,
   X509Chain* chain,
   SslPolicyErrors sslPolicyErrors
)
C++/CLI 
public delegate bool RemoteCertificateValidationCallback( 
   Object^ sender,
   X509Certificate^ certificate,
   X509Chain^ chain,
   SslPolicyErrors sslPolicyErrors
)

Parameters

sender
An object that contains state information for this validation.
certificate
The certificate used to authenticate the remote party.
chain
The chain of certificate authorities associated with the remote certificate. Not implemented (always null).
sslPolicyErrors
One or more errors associated with the remote certificate.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.