PeerContact.Credentials プロパティ

定義

この PeerContact インスタンスで識別されるピアの X509Certificate (公開キー) を取得または設定します。

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

プロパティ値

この PeerContact インスタンスで識別されるピアの X509Certificate (公開キー)。 このプロパティの既定値は、null です。

例外

この PeerContact オブジェクトは破棄されました。

注釈

このメソッドを呼び出す場合は、 の UnrestrictedPermissionState必要です。 この状態は、ピア コラボレーション セッションの開始時に作成されます。

適用対象

こちらもご覧ください