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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaWriter Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.