Mode Property
Collapse the table of content
Expand the table of content

SymmetricAlgorithm.Mode Property

 

Gets or sets the mode for operation of the symmetric algorithm.

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

public virtual CipherMode Mode { get; set; }

Property Value

Type: System.Security.Cryptography.CipherMode

The mode for operation of the symmetric algorithm. The default is CipherMode.CBC.

Exception Condition
CryptographicException

The cipher mode is not one of the CipherMode values.

See CipherMode enumeration for a description of specific modes.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft