SymmetricAlgorithm.Create Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Tworzy obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego.
Przeciążenia
| Create() |
Nieaktualne.
Nieaktualne.
Tworzy domyślny obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego. |
| Create(String) |
Tworzy określony obiekt kryptograficzny używany do wykonywania algorytmu symetrycznego. |
Create()
Przestroga
The default implementation of this cryptography algorithm is not supported", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}
Przestroga
The default implementation of this cryptography algorithm is not supported.", DiagnosticId="SYSLIB0007", UrlFormat="https://aka.ms/dotnet-warnings/{0}
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)
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);
public static System.Security.Cryptography.SymmetricAlgorithm Create (string algName);
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.