UserNameSecurityTokenHandler.CanWriteToken Property

.NET Framework (current version)

Gets a value that indicates whether this handler can write tokens of type UserNameSecurityToken.

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

public override bool CanWriteToken { get; }

Property Value

Type: System.Boolean

true if the handler can write tokens of type UserNameSecurityToken; otherwise, false. Always true.

.NET Framework
Available since 4.5
Return to top