LicensingUtility.ParseClientRightsToken Method
Namespace: Microsoft.VisualStudio.Services.Licensing
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Shared Function ParseClientRightsToken ( _
clientRightsToken As String, _
certificate As X509Certificate2 _
) As IClientRightsEnvelope
public static IClientRightsEnvelope ParseClientRightsToken(
string clientRightsToken,
X509Certificate2 certificate
)
public:
static IClientRightsEnvelope^ ParseClientRightsToken(
String^ clientRightsToken,
X509Certificate2^ certificate
)
static member ParseClientRightsToken :
clientRightsToken:string *
certificate:X509Certificate2 -> IClientRightsEnvelope
public static function ParseClientRightsToken(
clientRightsToken : String,
certificate : X509Certificate2
) : IClientRightsEnvelope
Parameters
- clientRightsToken
Type: System.String
- certificate
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
Return Value
Type: Microsoft.VisualStudio.Services.Licensing.IClientRightsEnvelope
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.