State Property

Summary

Gets the MediaWriterState for the current drive.

Syntax
C#
VB
C++
public MediaWriterState State { get; } 
Public ReadOnly Property State As MediaWriterState 
public: 
property MediaWriterState State { 
   MediaWriterState get(); 
} 

Property Value

The state for the current drive.

Remarks

This property can be retrieved to examine the current state before a media writer operation. If the calling application does not check this property before using one of the MediaWriterDrive methods, the requested method call may fail. For the list of possible states, see MediaWriterState. The following is a list of all possible operations with the required state for each operation:

Operation Required State
BurnDisc Idle
TestWriteDisc Idle
EraseDisc Idle
LoadDisc Idle
EjectDisc Idle
Cancel Any

Requirements

Target Platforms

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

Leadtools.MediaWriter Assembly