Dart.PowerTCP.SslSockets Namespace > SslStream Class : RemoteCertificate Property (SslStream) |
Returns the Certificate object representing the certificate the remote host used for authentication.
[Visual Basic]
Public ReadOnly Property RemoteCertificate As Certificate
[C#]
public Certificate RemoteCertificate {get;}
[C++]
public: __property Certificate* get_RemoteCertificate();
[C++/CLI]
public:
property Certificate^ RemoteCertificate {
Certificate^ get();
}
When a certificate is received from a remote host requesting authentication, the CertificateReceivedEvent is raised. A Certificate object is created and passed into this event handler, and also stored in SslStream.RemoteCertificate for use outside of the CertificateReceived event. Before the CertificateRecievedEvent is raised this property will be null.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
SslStream Class | SslStream Members
Send comments on this topic.
Documentation version 1.1.2.0.
© 2008 Dart Communications. All rights reserved.