Share via


RequestSecurityTokenResponse.KeySize Property

Gets or sets the size of the key associated with the issued security token.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim requestSecurityTokenResponse1 As RequestSecurityTokenResponse

Dim returnValue As Integer
returnValue = requestSecurityTokenResponse1.KeySize

Dim sampleValue As Integer
requestSecurityTokenResponse1.KeySize = sampleValue

Syntax

'Declaration
Public Property KeySize() As Integer
public int KeySize {get; set;}
public: property Int32 KeySize{
    Int32 get();
    Void set(Int32);
}
public int get_KeySize();
public void set_KeySize(int);
public function get KeySize() : int;
public function set KeySize(int);

Property Value

The size of the key, in bits.

Exceptions

Exception type Condition
System.ArgumentOutOfRangeException

KeySize is set to a value less than 0.

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

RequestSecurityTokenResponse Class
Microsoft.Web.Services2.Security Namespace

Other Resources

RequestSecurityTokenResponse Members