SymmetricAlgorithm.ValidKeySize Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the specified key size is valid for the current algorithm.
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.
Show: