MD5.Create Metodo

Definizione

Consente la creazione di implementazioni specifiche di questa classe astratta.

Overload

Nome Descrizione
Create()

Crea un'istanza dell'implementazione predefinita dell'algoritmo MD5 hash.

Create(String)
Obsoleti.

Crea un'istanza dell'implementazione specificata dell'algoritmo MD5 hash.

Create()

Origine:
MD5.cs
Origine:
MD5.cs
Origine:
MD5.cs
Origine:
MD5.cs
Origine:
MD5.cs

Crea un'istanza dell'implementazione predefinita dell'algoritmo MD5 hash.

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

Valori restituiti

MD5

Nuova istanza dell'algoritmo MD5 hash.

Attributi

Eccezioni

L'algoritmo è stato usato con la modalità FIPS (Federal Information Processing Standards), ma non è compatibile con FIPS.

Vedi anche

Si applica a

Create(String)

Origine:
MD5.cs
Origine:
MD5.cs
Origine:
MD5.cs
Origine:
MD5.cs
Origine:
MD5.cs

Attenzione

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

Crea un'istanza dell'implementazione specificata dell'algoritmo MD5 hash.

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

Parametri

algName
String

Nome dell'implementazione specifica di MD5 da usare.

Valori restituiti

MD5

Nuova istanza dell'implementazione specificata di MD5.

Attributi

Eccezioni

L'algoritmo algName descritto dal parametro è stato usato con la modalità FIPS (Federal Information Processing Standards) abilitata, ma non è compatibile con FIPS.

Commenti

I valori possibili per algName sono: System.Security.Cryptography.MD5, MD5System.Security.Cryptography.MD5CryptoServiceProvider, e System.Security.Cryptography.MD5Managed.

Vedi anche

Si applica a