OnDeviceEvent Event

Summary
The event delegate for writable drive eject and load events.
Syntax
C#
C++/CLI
public event EventHandler<MediaWriterDevNotifyEventArgs> OnDeviceEvent 
public: 
event EventHandler<MediaWriterDevNotifyEventArgs^>^ OnDeviceEvent 
Event Data

The event handler receives an argument of type MediaWriterDevNotifyEventArgs containing data related to this event. The following MediaWriterDevNotifyEventArgs properties provide information specific to this event.

PropertyDescription
Description Description string for the related event state.
State The current device state for this event.
Remarks

This event is fired for device events on the MediaWriterDrive object. Supported event states are StateEmpty and StateLoaded.

Example

For an example, refer to MediaWriterDrive.BurnDisc.

Requirements

Target Platforms

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

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