The media in the drive should be rewritable to allow this operation. To retrieve the type of the media in the drive, check the MediaWriterDrive.CurrentDiscType property. If an error occurs a Win32Exception will be thrown. Please Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.
Leadtools.MediaWriter requires a Document, Medical or Multimedia toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features