Aes.Create Aes.Create Aes.Create Aes.Create Method

Definition

Creates a cryptographic object that is used to perform the symmetric algorithm.

Overloads

Create() Create() Create() Create()

Creates a cryptographic object that is used to perform the symmetric algorithm.

Create(String) Create(String) Create(String) Create(String)

Creates a cryptographic object that specifies the implementation of AES to use to perform the symmetric algorithm.

Create() Create() Create() Create()

Creates a cryptographic object that is used to perform the symmetric algorithm.

public:
 static System::Security::Cryptography::Aes ^ Create();
public static System.Security.Cryptography.Aes Create ();
static member Create : unit -> System.Security.Cryptography.Aes
Public Shared Function Create () As Aes

Returns

A cryptographic object that is used to perform the symmetric algorithm.

Create(String) Create(String) Create(String) Create(String)

Creates a cryptographic object that specifies the implementation of AES to use to perform the symmetric algorithm.

public:
 static System::Security::Cryptography::Aes ^ Create(System::String ^ algorithmName);
public static System.Security.Cryptography.Aes Create (string algorithmName);
static member Create : string -> System.Security.Cryptography.Aes
Public Shared Function Create (algorithmName As String) As Aes

Parameters

algorithmName
String String String String

The name of the specific implementation of AES to use.

Returns

A cryptographic object that is used to perform the symmetric algorithm.

Exceptions

Remarks

Possible algorithmName values are: "AES", "AesCryptoServiceProvider", "System.Security.Cryptography.AesCryptoServiceProvider", "AesManaged", and "System.Security.Cryptography.AesManaged".

Applies to