PrimoBurner for .NET
5.0
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. | |
static bool | EnableTraceLog () |
Enables the PrimoBurner trace log. | |
static bool | EnableTraceLog (string logFile) |
Enables the PrimoBurner trace log. | |
static bool | EnableTraceLog (String logFile, bool useExistingFile) |
Enables the PrimoBurner trace log. | |
static Int32 | GetCDROMIndexFromLetter (char driveLetter) |
Gets the DeviceEnumerator index of a device from its drive letter. | |
static Char | GetCDROMLetterFromIndex (Int32 driveIndex) |
Gets the drive letter of a device from its DeviceEnumerator index. | |
static void | Initialize () |
Initializes the managed code 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 () |
This method must be called to cleanup the managed resources. | |
Properties | |
static LicenseStatusFlags | LicenseStatus [get] |
Returns the current license status. | |
Initializes PrimoBurner and manages license information.
|
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.
References Library.EnableTraceLog().
Referenced by Library.EnableTraceLog(), and Library.EnableTraceLog().
|
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.
References Library.EnableTraceLog().
|
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.
References PrimoSoftware.Burner.Format.
|
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.nosp@m.@pri.nosp@m.mobur.nosp@m.ner..nosp@m.com.
|
staticget |
Returns the current license status.