[This is preliminary documentation and subject to change.]
Gets or sets the size of the secret key used by the symmetric algorithm in bits.
The size of the secret key used by the symmetric algorithm.
The valid key sizes are specified by the particular symmetric algorithm implementation and are listed in LegalKeySizes.
Exception Type | Condition |
---|---|
CryptographicException | The key size is not valid. |
RijndaelCryptoServiceProvider Class | Org.Mentalis.SecurityServices.Cryptography Namespace