PeerContact::Credentials Property
.NET Framework (current version)
Gets or sets the X509Certificate (public key) for the peer identified by this PeerContact instance.
Assembly: System.Net (in System.Net.dll)
public: property X509Certificate2^ Credentials { X509Certificate2^ get(); internal: void set(X509Certificate2^ value); }
Property Value
Type: System.Security.Cryptography.X509Certificates::X509Certificate2^The X509Certificate (public key) for the peer identified by this PeerContact instance. The default value for this property is null.
| Exception | Condition |
|---|---|
| ObjectDisposedException | This PeerContact object has been disposed. |
Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.
.NET Framework
Available since 3.5
Available since 3.5
Show: