CngKey.SetProperty(CngProperty) メソッド

定義

キーで名前付きプロパティを設定します。

public:
 void SetProperty(System::Security::Cryptography::CngProperty property);
public void SetProperty (System.Security.Cryptography.CngProperty property);
[System.Security.SecurityCritical]
public void SetProperty (System.Security.Cryptography.CngProperty property);
member this.SetProperty : System.Security.Cryptography.CngProperty -> unit
[<System.Security.SecurityCritical>]
member this.SetProperty : System.Security.Cryptography.CngProperty -> unit
Public Sub SetProperty (property As CngProperty)

パラメーター

property
CngProperty

設定するキー プロパティ。

属性

注釈

このメソッドを使用すると、 オブジェクトを使用して、既存のキーに新しいカスタム プロパティを CngProperty 追加できます。 オブジェクトに設定されるオプションは、 CngProperty 呼び出しのオプションと完全に一致している GetProperty 必要があります。 それ以外の場合、プロパティは見つかりません。

適用対象