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
public virtual CipherMode Mode {get; set;}
public: __property virtual CipherMode get_Mode();
public: __property virtual void set_Mode(CipherMode);
public function get Mode() : CipherMode;
public function set Mode(CipherMode);

Property Value

The mode for operation of the symmetric algorithm.


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


See CipherMode for a description of specific modes.


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

© 2014 Microsoft