CreateDecryptor Method
Collapse the table of content
Expand the table of content

AesCryptoServiceProvider.CreateDecryptor Method ()


Creates a symmetric AES decryptor object using the current key and initialization vector (IV).

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

override CreateDecryptor : unit -> ICryptoTransform

Return Value

Type: System.Security.Cryptography.ICryptoTransform

A symmetric AES decryptor object.

Exception Condition

The current key is invalid or missing.

.NET Framework
Available since 3.5
Return to top
© 2015 Microsoft