AVBlocks for .NET
3.0
Audio and Video Software Development Kit
|
Initializes AVBlocks and manages license information. More...
Classes | |
class | Config |
Global hardware configuration. More... | |
Static Public Member Functions | |
static bool | Initialize () |
Initializes the AVBlocks library. | |
static bool | IsLicensed (string product, string feature) |
Checks whether a product feature is licensed. | |
static LicenseStatusFlags | SetLicense (string license) |
Sets a license string. | |
static void | Shutdown () |
Closes the AVBlocks library and frees the resources that are used (if any). | |
Properties | |
static string | Description [get] |
Returns library build description. | |
static LicenseStatusFlags | LicenseStatus [get] |
Returns the current license status. | |
static int | MajorVersion [get] |
Returns library major version. | |
static int | MinorVersion [get] |
Returns library minor version. | |
static int | PatchVersion [get] |
Returns library patch version. | |
Initializes AVBlocks and manages license information.
|
static |
Initializes the AVBlocks library.
Must be called once before the library is used, usually when the application starts.
|
static |
Checks whether a product feature is licensed.
product | The product id. If null the AVBlocks product is implied. |
feature | The feature id. If null> the default AVBlocks product feature is implied. |
If a product is fully licensed then the function will always return true for that product regardless of the feature parameter.
If a product is licensed for a limited set of features then the function will return true for that product only if the feature parameter specifies one of the licensed features or is null.
|
static |
Sets a license string.
The supplied license is appended to the library license state.
license | A string with license information. If the license string is null the library license state is cleared. |
A Demo build of the library cannot be licensed and always returns LicenseStatusFlags.DemoBuild.
|
static |
Closes the AVBlocks library and frees the resources that are used (if any).
Should be called when the library will not be used anymore, e.g. when the application ends.
|
staticget |
Returns library build description.
Contains details about the build including full version,
architecture (x86/x64), configuration (Release/Debug), license (OEM/Demo) and platform (OS).
|
staticget |
Returns the current license status.
In the Demo build the license status is always LicenseStatusFlags.DemoBuild.
|
staticget |
Returns library major version.
|
staticget |
Returns library minor version.
|
staticget |
Returns library patch version.
The patch version is used for bugfixes and small improvements that do not involve API changes.