UseKey Constructor (SecurityToken)

.NET Framework (current version)

Initializes a new instance of the UseKey class using the specified security token.

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

public UseKey(
	SecurityToken token


Type: System.IdentityModel.Tokens.SecurityToken

A SecurityToken that represents the existing key that should be used.

The SecurityKeyIdentifier property is set to null in the new UseKey instance.

.NET Framework
Available since 4.5
Return to top