Bewerken

Delen via


PeerContact.Credentials Property

Definition

Gets or sets the X509Certificate (public key) for the peer identified by this PeerContact instance.

public:
 property System::Security::Cryptography::X509Certificates::X509Certificate2 ^ Credentials { System::Security::Cryptography::X509Certificates::X509Certificate2 ^ get(); };
public System.Security.Cryptography.X509Certificates.X509Certificate2 Credentials { get; }
member this.Credentials : System.Security.Cryptography.X509Certificates.X509Certificate2
Public ReadOnly Property Credentials As X509Certificate2

Property Value

The X509Certificate (public key) for the peer identified by this PeerContact instance. The default value for this property is null.

Exceptions

This PeerContact object has been disposed.

Remarks

Calling this method requires a PermissionState of Unrestricted. This state is created when the peer collaboration session begins.

Applies to

See also