Share via


CreateDecryptor Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Creates a symmetric decryptor object with the current Key property and initialization vector (IV).

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

Syntax

'Declaration
Public Overridable Function CreateDecryptor As ICryptoTransform
public virtual ICryptoTransform CreateDecryptor()
public:
virtual ICryptoTransform^ CreateDecryptor()
abstract CreateDecryptor : unit -> ICryptoTransform 
override CreateDecryptor : unit -> ICryptoTransform 
public function CreateDecryptor() : ICryptoTransform

Return Value

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

Remarks

This method decrypts an encrypted message created using the CreateEncryptor overload with the same signature.

.NET Framework Security

See Also

Reference

SymmetricAlgorithm Class

CreateDecryptor Overload

System.Security.Cryptography Namespace