次の方法で共有


HMACSHA1.Key プロパティ

ハッシュ アルゴリズムで使用するキーを取得または設定します。

Overrides Public Property Key As Byte ()
[C#]
public override byte[] Key {get; set;}
[C++]
public: __property unsigned char get_Key();public: __property void set_Key(unsigned char __gc[]);
[JScript]
public override function get Key() : Byte[];
public override function set Key(Byte[]);

プロパティ値

ハッシュ アルゴリズムで使用するキー。

例外

例外の種類 条件
CryptographicException ハッシュが開始された後に、キーを変更しようとしました。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

HMACSHA1 クラス | HMACSHA1 メンバ | System.Security.Cryptography 名前空間 | 暗号サービス