Search Results for

    Show / Hide Table of Contents

    Class EndpointsWatcher

    Provides a way to watch endpoints adding/removing in the system. More info in the Endpoints watcher article.
    Inheritance
    object
    EndpointsWatcher
    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 EndpointsWatcher

    Properties

    Instance

    Gets the instance of EndpointsWatcher.
    Declaration
    public static EndpointsWatcher Instance { get; }
    Property Value
    Type Description
    EndpointsWatcher
    Exceptions
    Type Condition
    PlatformNotSupportedException Endpoints watcher API is not supported on the current operating system.

    Events

    EndpointAdded

    Occurs when a MIDI device has been added to the system.
    Declaration
    public event EventHandler<EndpointAddedRemovedEventArgs> EndpointAdded
    Event Type
    Type Description
    EventHandler<EndpointAddedRemovedEventArgs>

    EndpointRemoved

    Occurs when a MIDI device has been removed from the system.
    Declaration
    public event EventHandler<EndpointAddedRemovedEventArgs> EndpointRemoved
    Event Type
    Type Description
    EventHandler<EndpointAddedRemovedEventArgs>
    In this article
    Back to top 2026 / Generated by DocFX