SerialManager
Namespace: Babel.Licensing Assembly: Babel.Licensing.dll
This class is used to validate serials and get object from serials. This class cannot be inherited.
Inheritance
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SerialManager()
Initializes a new instance of the class.
Properties
PublicKey
Gets or sets the public key used to validate serials.
Property Value
Methods
IsValid(string)
Query if the serial specified is valid.
Parameters
The serial as base32 string. The serial can include '-' characters.
Returns
true
if the serial is valid, otherwise false
.
Exceptions
Thrown when the argument serial is null.
Validate(string, Type, object)
Validates the given serial and returns a object if the serial is valid.
Parameters
The serial as base32 string. The serial can include '-' characters.
The type.
The instance.
Returns
A object if the serial is valid, otherwise
Exceptions
Thrown when one or more required arguments are null.
Thrown when a Babel License error condition occurs.
Last updated