EraseDisc Method

Summary
Erases the data from the currently loaded rewritable disc, if possible.
Syntax
C#
C++/CLI
public void 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. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Requirements

Target Platforms

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

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