MD5.Create Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Creates an instance of the default implementation of the MD5 hash algorithm.

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

public static MD5 Create()

Return Value

Type: System.Security.Cryptography.MD5

A new instance of the MD5 hash algorithm.

Exception Condition
TargetInvocationException

The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.

.NET Framework
Available since 1.1
Return to top
Show: