Class VirtualDevice
Represents a virtual loopback MIDI device (MIDI cable). More info in the
Virtual device article.
Inheritance
VirtualDevice
Assembly: Melanchall.DryWetMidi.dll
public sealed class VirtualDevice : MidiDevice, IDisposable
Properties
Declaration
public InputDevice InputDevice { get; }
Property Value
Gets the name of the current MIDI device.
Declaration
public override string Name { get; }
Property Value
Overrides
Declaration
public OutputDevice OutputDevice { get; }
Property Value
Methods
Creates an instance of the
VirtualDevice with the specified name.
Declaration
public static VirtualDevice Create(string name)
Parameters
Type |
Name |
Description |
string |
name |
The name of a virtual device to create. |
Returns
Exceptions
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type |
Description |
string |
A string that represents the current object. |
Overrides
Implements