WSTrustMessage.KeySizeInBits Property

.NET Framework (current version)

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