Class License
Provides license validation and management for VASTreaming SDK components.
public static class License
- Inheritance
-
License
- Inherited Members
Properties
Key
Gets or sets the license key.
public static string Key { get; set; }
Property Value
Remarks
This property is only applicable for full or online licenses.
Methods
Check(string, params Functions[])
Checks whether the current license is valid for the specified package and functions.
public static bool Check(string packageId, params License.Functions[] funcs)
Parameters
packageIdstringThe package identifier that the calling source belongs to.
funcsFunctions[]Optional list of functions to validate.
Returns
- bool
trueif the license permits the specified package and functions; otherwise,false.
SendLog(string)
Sends the current log to the VASTreaming support server asynchronously.
public static Task<bool> SendLog(string description)
Parameters
descriptionstringA description of the issue or context for the log submission.