TryGetExpirationUtc(out DateTime)
Converts EntitlementGroupInfo.Expiration_ts to a UTC date.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Licensing
- Assembly: UnityEditor.CoreModule
TryGetExpirationUtc(DateTime)
public bool TryGetExpirationUtc(out DateTime expirationUtc)
Parameters
Receives the expiry as a UTC date, or the default value if the method returns .
falseReturns
Type | Description |
|---|---|
| bool | |
Remarks
Use this method instead of parsing EntitlementGroupInfo.Expiration_ts at each call site.