This documentation is archived and is not being maintained.

Hash Constructor

Initializes a new instance of the Hash class.

[Visual Basic]
Public Sub New( _
   ByVal assembly As Assembly _
)
[C#]
public Hash(
   Assembly assembly
);
[C++]
public: Hash(
   Assembly* assembly
);
[JScript]
public function Hash(
   assembly : Assembly
);

Parameters

assembly
The Assembly for which to compute hash value.

Exceptions

Exception Type Condition
ArgumentNullException The assembly parameter is a null reference (Nothing in Visual Basic).
ArgumentException The assembly parameter is not a valid Assembly.

Remarks

The hash value computation is not performed until one of the properties or methods is called.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Hash Class | Hash Members | System.Security.Policy Namespace

Show: