Show / Hide Table of Contents

Class SimpleLicense.SimpleLicenseData

Object containing licensing information. To be encrypted, and stored as a key in appsettings.json.

Inheritance
object
SimpleLicense.SimpleLicenseData
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Quantellia.WMServer.Auth.Model.Licensing
Assembly: WMServer.dll
Syntax
public class SimpleLicense.SimpleLicenseData

Constructors

SimpleLicenseData()

Creates an invalid simple license.

Declaration
public SimpleLicenseData()

SimpleLicenseData(DateTime)

Creates a license with an end date.

Declaration
public SimpleLicenseData(DateTime LicenseEndDateUTC)
Parameters
Type Name Description
DateTime LicenseEndDateUTC

The date that the license ends at in UTC.

Properties

IsValid

Whether the license is still valid.

Declaration
public bool IsValid { get; }
Property Value
Type Description
bool

LicenseEndDateUTC

The date the license ends at in UTC.

Declaration
public DateTime LicenseEndDateUTC { get; set; }
Property Value
Type Description
DateTime

Methods

Deserialize(string)

Deserializes the license from an AES-256 encrypted format.

Declaration
public static SimpleLicense.SimpleLicenseData Deserialize(string cryptoString)
Parameters
Type Name Description
string cryptoString
Returns
Type Description
SimpleLicense.SimpleLicenseData

Serialize()

Serializes the license into an AES-256 encrypted format.

Declaration
public string Serialize()
Returns
Type Description
string
In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 11/16/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE