Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

public override ICryptoTransform CreateDecryptor()

Return Value

Type: System.Security.Cryptography.ICryptoTransform
A symmetric AES decryptor object.

ExceptionCondition
CryptographicException

The current key is invalid or missing.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft