This documentation is archived and is not being maintained.

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.


[Visual Basic]
NotInheritable Public Class KeySizes
public sealed class KeySizes
public __gc __sealed class KeySizes
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.


If MinSize = 16, MaxSize = 32, and SkipSize = 8, there are three key sizes allowed: 16, 24, and 32 bits.


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