Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft