Initializes AVBlocks and manages license information.
More...
Initializes AVBlocks and manages license information.
static bool Initialize |
( |
| ) |
|
|
static |
Initializes the AVBlocks library.
Must be called once before the library is used, usually when the application starts.
- Returns
- true if the library is successfully initialized, otherwise false.
static bool IsLicensed |
( |
string |
product, |
|
|
string |
feature |
|
) |
| |
|
static |
Checks whether a product feature is licensed.
- Parameters
-
product | The product id. If null the AVBlocks product is implied. |
feature | The feature id. If null> the default AVBlocks product feature is implied. |
- Returns
- If true the specified product feature is licensed.
Sets a license string.
The supplied license is appended to the library license state.
- Parameters
-
license | A string with license information. If the license string is null the library license state is cleared. |
- Returns
- The status after the license is set. The returned value is a combination of flags from the LicenseStatusFlags enum.
A Demo build of the library cannot be licensed and always returns LicenseStatusFlags.DemoBuild.
- See Also
- Library.LicenseStatus
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.
Returns library build description.
Contains details about the build including full version, architecture (x86/x64), configuration (Release/Debug), license (OEM/Demo) and platform (OS).
Returns library major version.
Returns library minor version.
Returns library patch version.
The patch version is used for bugfixes and small improvements that do not involve API changes.