MD5.Create Method
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.
Create() |
Creates an instance of the default implementation of the MD5 hash algorithm. |
Create(String) |
Obsolete.
Creates an instance of the specified implementation of the MD5 hash algorithm. |
- Source:
- MD5.cs
- Source:
- MD5.cs
- Source:
- MD5.cs
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 ();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.MD5 Create ();
static member Create : unit -> System.Security.Cryptography.MD5
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.MD5
Public Shared Function Create () As MD5
Returns
A new instance of the MD5 hash algorithm.
- Attributes
Exceptions
The algorithm was used with Federal Information Processing Standards (FIPS) mode enabled, but is not FIPS compatible.
See also
Applies to
.NET 9 és más verziók
Termék | Verziók |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.3, 1.4, 1.6, 2.0, 2.1 |
- Source:
- MD5.cs
- Source:
- MD5.cs
- Source:
- MD5.cs
Caution
Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.
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);
[System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.MD5? Create (string algName);
public static System.Security.Cryptography.MD5 Create (string algName);
static member Create : string -> System.Security.Cryptography.MD5
[<System.Obsolete("Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.", DiagnosticId="SYSLIB0045", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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.
- Attributes
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
.
See also
Applies to
.NET 9 és más verziók
Termék | Verziók (Elavult) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6 (7, 8, 9) |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: