KeySizes Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines the set of valid key sizes for the symmetric cryptographic algorithms.

Namespace:   System.Security.Cryptography
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.Security.Cryptography.KeySizes

[<Sealed>]
[<ComVisibleAttribute(true)>]
type KeySizes = class end

NameDescription
System_CAPS_pubmethodKeySizes(Int32, Int32, Int32)

Initializes a new instance of the KeySizes class with the specified key values.

NameDescription
System_CAPS_pubpropertyMaxSize

Specifies the maximum key size in bits.

System_CAPS_pubpropertyMinSize

Specifies the minimum key size in bits.

System_CAPS_pubpropertySkipSize

Specifies the interval between valid key sizes in bits.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

The following example shows the use of members of the KeySizes class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: