EraseDisc Method

Summary

Erases the data from the currently loaded rewritable disc, if possible.

Syntax
C#
VB
C++
public void EraseDisc() 
Public Sub EraseDisc()  
public: 
void EraseDisc();  

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaWriter Assembly