WSTrustMessage.KeySizeInBits Property

.NET Framework (current version)

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

Gets or sets the contents of the wst:KeySize element inside a RequestSecurityToken (RST) message.

Namespace:   System.IdentityModel.Protocols.WSTrust
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Nullable<int> KeySizeInBits { get; set; }

Property Value

Type: System.Nullable<Int32>

The key size in bits.

Exception Condition

An attempt to set a value less than or equal to zero occurs.

.NET Framework
Available since 4.5
Return to top