System.Security.Cryptography.Aes.Create Method

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

Syntax

public static Aes Create (string algorithmName)

Parameters

algorithmName
The name of the specific implementation of AES to use.

Returns

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

Remarks

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

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0