Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.