Table of Contents

Class License

Namespace
VAST.Common
Assembly
VAST.Common.dll

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

string

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

packageId string

The package identifier that the calling source belongs to.

funcs Functions[]

Optional list of functions to validate.

Returns

bool

true if 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

description string

A description of the issue or context for the log submission.

Returns

Task<bool>

A task that represents the asynchronous operation. The task result is true if the log was sent successfully; otherwise, false.