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

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

public override ICryptoTransform CreateEncryptor()

Return Value

Type: System.Security.Cryptography.ICryptoTransform

A symmetric encryptor object.

.NET Framework
Available since 3.5
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top