Export (0) Print
Expand All

SecurityToken.CanCreateKeyIdentifierClause<T> Method

Gets a value that indicates whether this security token is capable of creating the specified key identifier.

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public virtual bool CanCreateKeyIdentifierClause<T>()
where T : SecurityKeyIdentifierClause

Type Parameters

T

A SecurityKeyIdentifierClause that specifies the key identifier to create.

Return Value

Type: System.Boolean
true when T is of type SecurityKeyIdentifierClause; otherwise, false.

Use the CanCreateKeyIdentifierClause<T> method to determine whether a security token can create a specific key identifier. To create the key identifier call the CreateKeyIdentifierClause<T> method.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

ADD
Show:
© 2014 Microsoft