SymmetricAlgorithm::Mode Property

 

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

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

public:
property CipherMode Mode {
	virtual CipherMode get();
	virtual void set(CipherMode value);
}

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: