PeerContact.Credentials Propriedade

Definição

Obtém ou define o X509Certificate (chave pública) para o par identificado por esta instância PeerContact.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

Valor da propriedade

X509Certificate2

O X509Certificate (chave pública) para o par identificado por essa PeerContact instância.The X509Certificate (public key) for the peer identified by this PeerContact instance. O valor padrão para essa propriedade é null.The default value for this property is null.

Exceções

Este objeto PeerContact foi descartado.This PeerContact object has been disposed.

Comentários

Chamar esse método requer um PermissionState de Unrestricted .Calling this method requires a PermissionState of Unrestricted. Esse estado é criado quando a sessão de colaboração do par é iniciada.This state is created when the peer collaboration session begins.

Aplica-se a

Confira também