The Leadtools.MediaWriter functionality makes it possible to burn the contents of a directory, or an ISO file to CD or DVD. Supported disc media includes DVD–R, DVD+R, DVD–RW, DVD+RW, DVD+R Dual Layer, CR–R, and CD-RW. LEADTOOLS provides a number of methods, properties, and events which allow you to interface with each installed CD/DVD burner.
These functions allow you to:
Enumerate all installed CD/DVD drives (Drives Property).
Detect the type of media in each drive (CurrenDiscType Property).
Detect supported media for each drive (DiscTypes Property).
Load and Eject media from each drive (LoadDisc and EjectDisc Methods).
Enumerate supported write speeds for each drive (Speeds Property).
Select burn speed (CurrentSpeedIndex Property).
Obtain write progress for burn operations (Complete Event).
Erase rewritable media (EraseDisc Method).
To burn an ISO file or directory of files to disc, you must create a MediaWriterDrive by calling the CreateDisc Method, set the appropriate properties on the returned MediaWriterDrive object, and call the BurnDisc method, passing the created MediaWriterDrive object. Alternatively, you can use the same MediaWriterDrive object to write a directory of files to an ISO file by calling the CreateISO Method.
For a tutorial of using the Leadtools.MediaWriter functionality see How to use the MediaWriter to burn ISO files and DVD images.