The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SymmetricAlgorithm::ValidKeySize Method (Int32)
.NET Framework (current version)
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.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: