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.

AesManaged::Mode Property

 

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

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

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

Property Value

Type: System.Security.Cryptography::CipherMode

One of the enumeration values that specifies the block cipher mode to use for encryption. The default is CBC.

Exception Condition
CryptographicException

Mode is set to CFB or OFB.

The CFB and OFB modes are not supported.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft