SymmetricAlgorithm.Create Metoda

Definicja

Tworzy obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Przeciążenia

Create()
Przestarzałe.
Przestarzałe.

Tworzy domyślny obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Create(String)
Przestarzałe.

Tworzy określony obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Create()

Źródło:
SymmetricAlgorithm.cs
Źródło:
SymmetricAlgorithm.cs
Źródło:
SymmetricAlgorithm.cs

Przestroga

The default implementation of this cryptography algorithm is not supported

Przestroga

The default implementation of this cryptography algorithm is not supported.

Tworzy domyślny obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

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

Zwraca

Domyślny obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Atrybuty

Wyjątki

.NET Core 2.0 — 3.1 i .NET 5 i nowsze: we wszystkich przypadkach.

Uwagi

Ta metoda jest przestarzała na platformie .NET 5 i nowszych wersjach.

Zalecamy określenie algorytmu przez wywołanie Create(String) przeciążenia tej metody.

Zobacz też

Dotyczy

Create(String)

Źródło:
SymmetricAlgorithm.cs
Źródło:
SymmetricAlgorithm.cs
Źródło:
SymmetricAlgorithm.cs

Przestroga

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

Tworzy określony obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

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

Parametry

algName
String

Nazwa określonej implementacji SymmetricAlgorithm klasy do użycia.

Zwraca

Obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.

Atrybuty

Zobacz też

Dotyczy