AesCryptoServiceProvider.CreateEncryptor 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 encryptor object using the current key and initialization vector (IV).

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

Public Overrides Function CreateEncryptor As ICryptoTransform

Return Value

Type: System.Security.Cryptography.ICryptoTransform

A symmetric AES encryptor object.

.NET Framework
Available since 3.5
Return to top