Midi.DeviceCount Property

Definition

The number of MIDI devices in the system (do not confused with external connected devices).

public static nint DeviceCount { get; }
member this.DeviceCount : nint

Property Value

System.System.IntPtr System.nativeint

Remarks

You can retrieve a specific MIDI device by using the T:CoreMidi.Midi.GetDevice(int).

Applies to