SymmetricAlgorithm.Mode Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

abstract Mode : CipherMode with get, set
override Mode : CipherMode with 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: