PrimoBurner for .NET
4.6
CD, DVD and Blu-ray Software Development Kit
|
Initializes PrimoBurner and manages license information. More...
Static Public Member Functions | |
static void | DisableTraceLog () |
Disables the PrimoBurner trace log. More... | |
static bool | EnableTraceLog () |
Enables the PrimoBurner trace log. More... | |
static bool | EnableTraceLog (string logFile) |
Enables the PrimoBurner trace log. More... | |
static bool | EnableTraceLog (String logFile, bool useExistingFile) |
Enables the PrimoBurner trace log. More... | |
static Int32 | GetCDROMIndexFromLetter (char driveLetter) |
Gets the DeviceEnumerator index of a device from its drive letter. More... | |
static Char | GetCDROMLetterFromIndex (Int32 driveIndex) |
Gets the drive letter of a device from its DeviceEnumerator index. More... | |
static void | Initialize () |
Initializes the managed code library. More... | |
static bool | IsLicensed (string product, string feature) |
Checks whether a product feature is licensed. More... | |
static LicenseStatusFlags | SetLicense (string license) |
Sets a license string. More... | |
static void | Shutdown () |
This method must be called to cleanup the managed resources. More... | |
Properties | |
static LicenseStatusFlags | LicenseStatus [get] |
Returns the current license status. More... | |
Initializes PrimoBurner and manages license information.
|
static |
Disables the PrimoBurner trace log.
|
static |
Enables the PrimoBurner trace log.
The trace log is useful for identifying errors or problems with particular devices.
The method creates a file named "PrimoBurner.log" in the user's home directory. If the file already exists the method will overwrite it.
false - If a log file cannot be created with the specified path.
|
static |
Enables the PrimoBurner trace log.
The trace log is useful for identifying errors or problems with particular devices.
logFile | Full path to the file that should be used to log PrimoBurner trace messages. |
If the file already exists the method will overwrite it.
false - If a log file cannot be created with the specified path.
|
static |
Enables the PrimoBurner trace log.
The trace log is useful for identifying errors or problems with particular devices.
logFile | Full path to the file that should be used to log PrimoBurner trace messages. |
useExistingFile | Indicates whether an existing file should be used or a new log file should be created. Set this parameter to false to create a new empty log file or to true to use a file that already exists. The default value of this parameter is "false". |
false - If a log file cannot be created with the specified path.
|
static |
Gets the DeviceEnumerator index of a device from its drive letter.
driveLetter | The drive letter of the device. |
|
static |
Gets the drive letter of a device from its DeviceEnumerator index.
driveIndex | The index of the device in DeviceEnumerator |
///
|
static |
Initializes the managed code library.
This method must be called before using any other method or object from this library.
|
static |
Checks whether a product feature is licensed.
product | The product id. If null the PrimoBurner product is implied. |
feature | The feature id. If null> the default PrimoBurner product feature is implied. |
|
static |
Sets a license string.
license | A string with license information. It is allowed to set NULL in which case the license is cleared. |
Until the current license is resolved SetLcense will reject any license string and will return false.
To obtain a license please contact PrimoBurner SDK Sales at sales. @pri mobur ner. com
|
static |
This method must be called to cleanup the managed resources.
|
staticget |
Returns the current license status.