SymmetricAlgorithm.ValidKeySize Method
Silverlight
Determines whether the specified key size is valid for the current algorithm.
Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Parameters
- bitLength
- Type: System.Int32
The length, in bits, to check for a valid key size.
Return Value
Type: System.Booleantrue if the specified key size is valid for the current algorithm; otherwise, false.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.