Export (0) Print
Expand All

SymmetricAlgorithm.Mode Property

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

[Visual Basic]
Public Overridable Property Mode As CipherMode
[C#]
public virtual CipherMode Mode {get; set;}
[C++]
public: __property virtual CipherMode get_Mode();
public: __property virtual void set_Mode(CipherMode);
[JScript]
public function get Mode() : CipherMode;
public function set Mode(CipherMode);

Property Value

The mode for operation of the symmetric algorithm.

Exceptions

Exception Type Condition
CryptographicException The cipher mode is not one of the CipherMode values.

Remarks

See CipherMode for a description of specific modes.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SymmetricAlgorithm Class | SymmetricAlgorithm Members | System.Security.Cryptography Namespace | Cryptographic Services

Show:
© 2014 Microsoft