VerifyEntitlementTokenResponse.EntitlementExpiryDate property

Gets or sets the time and date when the app license expires.

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

Syntax

'Declaration
Public Property EntitlementExpiryDate As Nullable(Of DateTime)
    Get
    Set
'Usage
Dim instance As VerifyEntitlementTokenResponse
Dim value As Nullable(Of DateTime)

value = instance.EntitlementExpiryDate

instance.EntitlementExpiryDate = value
public Nullable<DateTime> EntitlementExpiryDate { get; set; }

Property value

Type: System.Nullable<DateTime>
When the app license expires.

Remarks

This property can be used to identify expired trial app licenses.

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