SymmetricAlgorithm.Create Método

Definição

Cria um objeto criptográfico usado para executar o algoritmo simétrico.

Sobrecargas

Create()
Obsoleto.
Obsoleto.

Cria um objeto de criptografia padrão usado para executar o algoritmo simétrico.

Create(String)
Obsoleto.

Cria o objeto criptográfico especificado usado para executar o algoritmo simétrico.

Create()

Origem:
SymmetricAlgorithm.cs
Origem:
SymmetricAlgorithm.cs
Origem:
SymmetricAlgorithm.cs

Cuidado

The default implementation of this cryptography algorithm is not supported

Cuidado

The default implementation of this cryptography algorithm is not supported.

Cria um objeto de criptografia padrão usado para executar o algoritmo simétrico.

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

Retornos

Um objeto de criptografia padrão usado para executar o algoritmo simétrico.

Atributos

Exceções

.NET Core 2.0 – 3.1 e .NET 5 e posterior: em todos os casos.

Comentários

Esse método é obsoleto no .NET 5 e versões posteriores.

Recomendamos que você especifique o algoritmo chamando a Create(String) sobrecarga desse método.

Confira também

Aplica-se a

Create(String)

Origem:
SymmetricAlgorithm.cs
Origem:
SymmetricAlgorithm.cs
Origem:
SymmetricAlgorithm.cs

Cuidado

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

Cria o objeto criptográfico especificado usado para executar o algoritmo simétrico.

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

Parâmetros

algName
String

O nome da implementação específica da classe SymmetricAlgorithm a ser usada.

Retornos

Um objeto criptográfico usado para executar o algoritmo simétrico.

Atributos

Confira também

Aplica-se a