Search Results for

    Show / Hide Table of Contents

    Class DevicesWatcher

    Provides a way to watch devices adding/removing in the system. More info in the Devices watcher article.
    Inheritance
    object
    DevicesWatcher
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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>
    In this article
    Back to top 2024 / Generated by DocFX