←Select platform

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.MediaWriter Assembly
Click or drag to resize