Midi.DeviceCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).