System.Security.Cryptography (mscorlib.dll)enum
public enum PaddingMode {
   None = 1,PKCS7 = 2,Zeros = 3

The PaddingMode enumeration is used with the SymmetricAlgorithm.Padding property to specify a padding scheme for data encryption. The PKCS7 value specifies PKCS #7 padding, where the value of the padding bytes is set to be the number of padding bytes (for example, if seven bytes of padding are required, then the value of these bytes will be 7). The Zeros value specifies that all padding bytes should be set to have a value of 0.


System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) PaddingMode

Returned By


Passed To


    Part V: API Quick Reference