C# Class ZForge.Win32.RemovableDriveDetectorEventArgs

Our class for passing in custom arguments to our event handlers
Inheritance: System.EventArgs
Show file Open project: zhuangyy/Motion Class Usage Examples

Public Properties

Property Type Description
Cancel bool
Drive string
HookQueryRemove bool

Public Methods

Method Description
RemovableDriveDetectorEventArgs ( ) : System

Method Details

RemovableDriveDetectorEventArgs() public method

public RemovableDriveDetectorEventArgs ( ) : System
return System

Property Details

Cancel public property

Get/Set the value indicating that the event should be cancelled Only in QueryRemove handler.
public bool Cancel
return bool

Drive public property

Drive letter for the device which caused this event
public string Drive
return string

HookQueryRemove public property

Set to true in your DeviceArrived event handler if you wish to receive the QueryRemove event for this drive.
public bool HookQueryRemove
return bool