Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Aes::Create Method (String^)

 

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

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

public:
static Aes^ Create(
	String^ algorithmName
)

Parameters

algorithmName
Type: System::String^

The name of the specific implementation of AES to use.

Return Value

Type: System.Security.Cryptography::Aes^

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

Exception Condition
ArgumentNullException

The algorithmName parameter is null.

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

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft