Export (0) Print
Expand All

Hash.CreateMD5 Method

Creates a Hash object containing an MD5 hash value.

Namespace: System.Security.Policy
Assembly: mscorlib (in mscorlib.dll)

public static Hash CreateMD5 (
	byte[] md5
)
public static Hash CreateMD5 (
	byte[] md5
)
public static function CreateMD5 (
	md5 : byte[]
) : Hash
Not applicable.

Parameters

md5

A byte array containing an MD5 hash value.

Return Value

A Hash object containing the hash value provided by the md5 parameter.

Exception typeCondition

ArgumentNullException

The md5 parameter is a null reference (Nothing in Visual Basic).

The returned Hash object contains only the MD5 property.

Windows 98, Windows Server 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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft