Create Method (String)
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft