Bagikan melalui


SymmetricAlgorithm.Create Metode

Definisi

Membuat objek kriptografi yang digunakan untuk melakukan algoritma simetris.

Overload

Create()
Kedaluwarsa.
Kedaluwarsa.

Membuat objek kriptografi default yang digunakan untuk melakukan algoritma simetris.

Create(String)
Kedaluwarsa.

Membuat objek kriptografi yang ditentukan yang digunakan untuk melakukan algoritma simetris.

Create()

Sumber:
SymmetricAlgorithm.cs
Sumber:
SymmetricAlgorithm.cs
Sumber:
SymmetricAlgorithm.cs

Perhatian

The default implementation of this cryptography algorithm is not supported

Perhatian

The default implementation of this cryptography algorithm is not supported.

Membuat objek kriptografi default yang digunakan untuk melakukan algoritma simetris.

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

Mengembalikan

Objek kriptografi default yang digunakan untuk melakukan algoritma simetris.

Atribut

Pengecualian

.NET Core 2.0 - 3.1 dan .NET 5 dan yang lebih baru: Dalam semua kasus.

Keterangan

Metode ini usang dalam .NET 5 dan versi yang lebih baru.

Kami menyarankan agar Anda menentukan algoritma dengan memanggil Create(String) kelebihan beban metode ini.

Lihat juga

Berlaku untuk

Create(String)

Sumber:
SymmetricAlgorithm.cs
Sumber:
SymmetricAlgorithm.cs
Sumber:
SymmetricAlgorithm.cs

Perhatian

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

Membuat objek kriptografi yang ditentukan yang digunakan untuk melakukan algoritma simetris.

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

Parameter

algName
String

Nama implementasi spesifik dari kelas yang SymmetricAlgorithm akan digunakan.

Mengembalikan

Objek kriptografi yang digunakan untuk melakukan algoritma simetris.

Atribut

Lihat juga

Berlaku untuk