SamlConstants.MajorVersionValue Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the major version of the SAML specification that SamlSecurityToken security tokens conform to. This field is constant.

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

public static int MajorVersionValue { get; }

Property Value

Type: System.Int32

The major version of the SAML specification that SamlSecurityToken security tokens conform to. Always 1.

The combination of the MajorVersionValue and MinorVersionValue properties comprises the version of the SAML specification that SamlSecurityToken security tokens conform to.

.NET Framework
Available since 3.0
Return to top
Show: