KeyedHashAlgorithm.Key プロパティ
アセンブリ: mscorlib (mscorlib.dll 内)

public: virtual property array<unsigned char>^ Key { array<unsigned char>^ get (); void set (array<unsigned char>^ value); }
ハッシュ アルゴリズムで使用するキー。



Key プロパティをオーバーライドして現在の KeyedHashAlgorithm オブジェクトで使用されているキーを取得する方法を次のコード例に示します。このコード例は、KeyedHashAlgorithm クラスのトピックで取り上げているコード例の一部分です。
Public Overrides Property Key() As Byte() Get Return CType(keyedCrypto.Key.Clone(), Byte()) End Get Set(ByVal Value As Byte()) keyedCrypto.Key = CType(Value.Clone(), Byte()) End Set End Property
public override byte[] Key { get { return (byte[]) keyedCrypto.Key.Clone(); } set { keyedCrypto.Key = (byte[]) value.Clone(); } }

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からKeyedHashAlgorithm.Key プロパティを検索する場合は、下記のリンクをクリックしてください。

- KeyedHashAlgorithm.Key プロパティのページへのリンク