PowerTCP Mail for .NET
RemoteCertificate Property
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Tcp Class : RemoteCertificate Property




The Certificate object representing the certificate presented by the remote host during the SSL handshake.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property RemoteCertificate As Certificate
Visual Basic (Usage)Copy Code
Dim instance As Tcp
Dim value As Certificate
 
value = instance.RemoteCertificate
C# 
public Certificate RemoteCertificate {get;}
Managed Extensions for C++ 
public: __property Certificate* get_RemoteCertificate();
C++/CLI 
public:
property Certificate^ RemoteCertificate {
   Certificate^ get();
}

Property Value

A Certificate object representing the certificate presented by the remote host during the SSL handshake.

Remarks

If a secure connection was established and the remote host presented a certificate, RemoteCertificate will be a representation of this certificate.

This property will always be set if a secure connection is established and the remote host is the server. If the remote host is a client, it will only be set if client certificate authentication takes place.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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