public enum CipherMode {
CBC = 1,ECB = 2,OFB = 3,CFB = 4,CTS = 5
}
The SymmetricAlgorithm.Mode property gets and sets
a value from the CipherMode enumeration; the
enumeration values represent different cipher modes, which affect the
way in which data is processed during encryption.
The most commonly used CipherMode values are
CBC (Cipher Block Chaining), which is suitable for
most encryption tasks, and CFB (Cipher Feedback),
which is suitable for encrypting data that is processed in small
chunks.