SymmetricAlgorithm.Create Metodo

Definizione

Crea un oggetto crittografico utilizzato per eseguire l'algoritmo simmetrico.

Overload

Nome Descrizione
Create()
Obsoleti.
Obsoleti.

Crea un oggetto di crittografia predefinito utilizzato per eseguire l'algoritmo simmetrico.

Create(String)
Obsoleti.

Crea l'oggetto di crittografia specificato utilizzato per eseguire l'algoritmo simmetrico.

Create()

Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs

Attenzione

The default implementation of this cryptography algorithm is not supported.

Attenzione

The default implementation of this cryptography algorithm is not supported

Crea un oggetto di crittografia predefinito utilizzato per eseguire l'algoritmo simmetrico.

public:
 static System::Security::Cryptography::SymmetricAlgorithm ^ Create();
[System.Obsolete("The default implementation of this cryptography algorithm is not supported.", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.SymmetricAlgorithm Create();
[System.Obsolete("The default implementation of this cryptography algorithm is not supported", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
public static System.Security.Cryptography.SymmetricAlgorithm Create();
public static System.Security.Cryptography.SymmetricAlgorithm Create();
[<System.Obsolete("The default implementation of this cryptography algorithm is not supported.", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
[<System.Obsolete("The default implementation of this cryptography algorithm is not supported", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
static member Create : unit -> System.Security.Cryptography.SymmetricAlgorithm
Public Shared Function Create () As SymmetricAlgorithm

Valori restituiti

Oggetto di crittografia predefinito utilizzato per eseguire l'algoritmo simmetrico.

Attributi

Eccezioni

.NET Core 2.0 - 3.1 e .NET 5 e versioni successive: in tutti i casi.

Commenti

Questo metodo è obsoleto in .NET 5 e versioni successive.

È consigliabile specificare l'algoritmo chiamando l'overload Create(String) di questo metodo.

Vedi anche

Si applica a

Create(String)

Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs
Origine:
SymmetricAlgorithm.cs

Attenzione

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

Crea l'oggetto di crittografia specificato utilizzato per eseguire l'algoritmo simmetrico.

public:
 static System::Security::Cryptography::SymmetricAlgorithm ^ 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.SymmetricAlgorithm? Create(string algName);
public static System.Security.Cryptography.SymmetricAlgorithm? 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.SymmetricAlgorithm? Create(string algName);
public static System.Security.Cryptography.SymmetricAlgorithm 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.SymmetricAlgorithm
static member Create : string -> System.Security.Cryptography.SymmetricAlgorithm
[<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.SymmetricAlgorithm
Public Shared Function Create (algName As String) As SymmetricAlgorithm

Parametri

algName
String

Nome dell'implementazione specifica della SymmetricAlgorithm classe da usare.

Valori restituiti

Oggetto crittografico utilizzato per eseguire l'algoritmo simmetrico.

Attributi

Vedi anche

Si applica a