MD5.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows specific implementations of this abstract class to be created.
Overloads
| Name | Description |
|---|---|
| Create() |
Creates an instance of the default implementation of the MD5 hash algorithm. |
| Create(String) |
Creates an instance of the specified implementation of the MD5 hash algorithm. |
Create()
Creates an instance of the default implementation of the MD5 hash algorithm.
public:
static System::Security::Cryptography::MD5 ^ Create();
public static System.Security.Cryptography.MD5 Create();
static member Create : unit -> System.Security.Cryptography.MD5
Public Shared Function Create () As MD5
Returns
A new instance of the MD5 hash algorithm.
Exceptions
The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
See also
Applies to
Create(String)
Creates an instance of the specified implementation of the MD5 hash algorithm.
public:
static System::Security::Cryptography::MD5 ^ Create(System::String ^ algName);
public static System.Security.Cryptography.MD5 Create(string algName);
static member Create : string -> System.Security.Cryptography.MD5
Public Shared Function Create (algName As String) As MD5
Parameters
Returns
A new instance of the specified implementation of MD5.
Exceptions
The algorithm described by the algName parameter was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
Remarks
Possible values for algName are: System.Security.Cryptography.MD5, MD5, System.Security.Cryptography.MD5CryptoServiceProvider, and System.Security.Cryptography.MD5Managed.