| Visual Basic (Declaration) | |
|---|---|
Public Property Certificate As Certificate | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As CertificateReceivedEventArgs Dim value As Certificate instance.Certificate = value value = instance.Certificate | |
| C# | |
|---|---|
public Certificate Certificate {get; set;} | |
| Managed Extensions for C++ | |
|---|---|
public: __property Certificate* get_Certificate(); public: __property void set_Certificate( Certificate* value ); | |
| C++/CLI | |
|---|---|
public: property Certificate^ Certificate { Certificate^ get(); void set ( Certificate^ value); } | |
Property Value
A Certificate object representing the received certificate.This property returns the certificate for which the Tcp.CertificateReceived event was raised. In order for secure communication to continue with the sender, this certificate must be accepted by the receiver. Whether a certificate is accepted is controlled by the CertificateReceivedEventArgs.Accept property.
Target Platforms: Microsoft .NET Framework 2.0
Copy Code