VerifyEntitlementTokenResponse.TokenExpiryDate property

Gets or sets the time and date when the app license token expires, after which the token needs to be refreshed.

Namespace:  VerificationSvc
Assembly:  SP15MrefVerificationSvc (in SP15MrefVerificationSvc.dll)

Syntax

'Declaration
Public Property TokenExpiryDate As DateTime
    Get
    Set
'Usage
Dim instance As VerifyEntitlementTokenResponse
Dim value As DateTime

value = instance.TokenExpiryDate

instance.TokenExpiryDate = value
public DateTime TokenExpiryDate { get; set; }

Property value

Type: System.DateTime
When the app license token expires.

Remarks

Note

This property applies to the app license token, the token representing the app license that is downloaded and stored in the purchaser’s environment, not the app license itself. App license tokens expire and are automatically renewed independently of any expiration date of the app license itself.

For more information on app licenses and app license tokens, see License your apps for Office and SharePoint.

Note

The properties of the VerifyEntitlementTokenResponse object are provided for developers to verify property values of an app license. Setting these properties only changes the local copy of the license token; it has no effect on the license stored by the Office Store.

See also

Reference

VerifyEntitlementTokenResponse class

VerifyEntitlementTokenResponse members

VerificationSvc namespace

Other resources

License your apps for Office and SharePoint

How to: Add license checks to your apps for Office

How to: Add license checks to your app for SharePoint