AesCryptoServiceProvider.CreateDecryptor Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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