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

X509WindowsSecurityToken Constructor (X509Certificate2, WindowsIdentity, String)

Initializes a new instance of the X509WindowsSecurityToken class using the specified X.509 certificate, Windows domain or computer account, and unique identifier.

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

public X509WindowsSecurityToken(
	X509Certificate2 certificate,
	WindowsIdentity windowsIdentity,
	string id


Type: System.Security.Cryptography.X509Certificates.X509Certificate2

An X509Certificate2 that contains the X.509 certificate.

Type: System.Security.Principal.WindowsIdentity

A WindowsIdentity that represents the identity of a Windows domain or computer account.

Type: System.String

A unique identifier of the security token.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft