Class DevicesWatcher
Provides a way to watch devices adding/removing in the system. More info in the
Devices watcher article.
Inherited Members
Namespace: Melanchall.DryWetMidi.Multimedia
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class DevicesWatcher
Properties
Instance
Gets the instance of DevicesWatcher.
Declaration
public static DevicesWatcher Instance { get; }
Property Value
Type | Description |
---|---|
DevicesWatcher |
Events
DeviceAdded
Occurs when a MIDI device has been added to the system.
Declaration
public event EventHandler<DeviceAddedRemovedEventArgs> DeviceAdded
Event Type
Type | Description |
---|---|
EventHandler<DeviceAddedRemovedEventArgs> |
DeviceRemoved
Occurs when a MIDI device has been removed from the system.
Declaration
public event EventHandler<DeviceAddedRemovedEventArgs> DeviceRemoved
Event Type
Type | Description |
---|---|
EventHandler<DeviceAddedRemovedEventArgs> |