KeySizes Class
Determines the set of valid key sizes for the symmetric cryptographic algorithms.
For a list of all members of this type, see KeySizes Members.
System.Object
System.Security.Cryptography.KeySizes
[Visual Basic] NotInheritable Public Class KeySizes [C#] public sealed class KeySizes [C++] public __gc __sealed class KeySizes [JScript] public class KeySizes
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Example
If MinSize = 16, MaxSize = 32, and SkipSize = 8, there are three key sizes allowed: 16, 24, and 32 bits.
Requirements
Namespace: System.Security.Cryptography
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: Mscorlib (in Mscorlib.dll)
See Also
KeySizes Members | System.Security.Cryptography Namespace | Cryptographic Services