LicenseValidationResult

Namespace: Babel.Licensing Assembly: Babel.Licensing.dll

Encapsulates the result of a license validation.

public class LicenseValidationResult

Inheritance

objectLicenseValidationResult

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

LicenseValidationResult(string, Exception)

Initializes a new instance of the class with a specified license ID.

public LicenseValidationResult(string licenseId, Exception exception)

Parameters

NameDescription

licenseId string

The license identifier.

exception Exception

The license validation exception.

Exceptions

NameDescription

Thrown when one or more required arguments are null.

Properties

Exception

Gets or sets the license validation exception.

public Exception Exception { get; set; }

Property Value

Exception

LicenseId

Gets or sets the identifier of the license.

public string LicenseId { get; set; }

Property Value

string

Restriction

Gets or sets the name of the restriction that generates this validation result.

public string Restriction { get; set; }

Property Value

string

Last updated