次の方法で共有


HashAlgorithm.Hash プロパティ

計算されたハッシュ コードの値を取得します。

Public Overridable ReadOnly Property Hash As Byte ()
[C#]
public virtual byte[] Hash {get;}
[C++]
public: __property virtual unsigned char get_Hash();
[JScript]
public function get Hash() : Byte[];

プロパティ値

計算されたハッシュ コードの現在の値。

例外

例外の種類 条件
CryptographicUnexpectedOperationException HashValue が null 参照 (Visual Basic では Nothing) です。

解説

Hash はバイト配列であり、 HashSize はビット単位です。したがって、 Hash の要素の数は HashSize の 1/8 です。

必要条件

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

参照

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