MD5.Create Methode

Definitie

Hiermee kunnen specifieke implementaties van deze abstracte klasse worden gemaakt.

Overloads

Name Description
Create()

Hiermee maakt u een exemplaar van de standaard implementatie van het MD5 hash-algoritme.

Create(String)
Verouderd.

Hiermee maakt u een exemplaar van de opgegeven implementatie van het MD5 hash-algoritme.

Create()

Bron:
MD5.cs
Bron:
MD5.cs
Bron:
MD5.cs
Bron:
MD5.cs
Bron:
MD5.cs

Hiermee maakt u een exemplaar van de standaard implementatie van het MD5 hash-algoritme.

public:
 static System::Security::Cryptography::MD5 ^ Create();
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public static System.Security.Cryptography.MD5 Create();
public static System.Security.Cryptography.MD5 Create();
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
static member Create : unit -> System.Security.Cryptography.MD5
static member Create : unit -> System.Security.Cryptography.MD5
Public Shared Function Create () As MD5

Retouren

MD5

Een nieuw exemplaar van het MD5 hash-algoritme.

Kenmerken

Uitzonderingen

Het algoritme is gebruikt met de FIPS-modus (Federal Information Processing Standards) ingeschakeld, maar is niet compatibel met FIPS.

Zie ook

Van toepassing op

Create(String)

Bron:
MD5.cs
Bron:
MD5.cs
Bron:
MD5.cs
Bron:
MD5.cs
Bron:
MD5.cs

Let op

Cryptographic factory methods accepting an algorithm name are obsolete. Use the parameterless Create factory method on the algorithm type instead.

Hiermee maakt u een exemplaar van de opgegeven implementatie van het MD5 hash-algoritme.

public:
 static System::Security::Cryptography::MD5 ^ Create(System::String ^ algName);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
[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);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")]
public static System.Security.Cryptography.MD5? Create(string algName);
public static System.Security.Cryptography.MD5 Create(string algName);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
[<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
static member Create : string -> System.Security.Cryptography.MD5
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("The default algorithm implementations might be removed, use strong type references like 'RSA.Create()' instead.")>]
static member Create : string -> System.Security.Cryptography.MD5
Public Shared Function Create (algName As String) As MD5

Parameters

algName
String

De naam van de specifieke implementatie die MD5 moet worden gebruikt.

Retouren

MD5

Een nieuw exemplaar van de opgegeven implementatie van MD5.

Kenmerken

Uitzonderingen

Het algoritme dat door de algName parameter wordt beschreven, is gebruikt met de FIPS-modus (Federal Information Processing Standards) ingeschakeld, maar is niet compatibel met FIPS.

Opmerkingen

Mogelijke waarden zijn algName : System.Security.Cryptography.MD5, MD5, System.Security.Cryptography.MD5CryptoServiceProvideren System.Security.Cryptography.MD5Managed.

Zie ook

Van toepassing op