Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

X509SecurityTokenHandler Constructor (Boolean)

.NET Framework 4.6 and 4.5

Initializes a new instance of the X509SecurityTokenHandler class by using a value that indicates whether the certificate should be mapped to a Windows account.

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

public X509SecurityTokenHandler(
	bool mapToWindows
)

Parameters

mapToWindows
Type: System.Boolean

true if the certificate should be mapped to a Windows account; otherwise, false. Sets the MapToWindows property.

The PeerOrChainTrust validator is used as the default certificate validator.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft