NOW LOADING

MidiNetworkRemoteClientRefusalReason


Why a host turned a remote client away
Namespace Windows.Devices.Midi2.Transports.Network
Type Name MidiNetworkRemoteClientRefusalReason
Type WinRT Enumeration (a 32-bit unsigned or signed integer)
IDL MidiNetworkRemoteClientRefusalReasonEnum.idl

Added in version 2 of MidiTransportsNetworkApiContract.

Reported by MidiNetworkRefusedRemoteClient.Reason, in the RecentlyRefusedRemoteClients list of MidiNetworkConfiguredHost. A device can have only one Network MIDI 2.0 session with this PC at a time, so the host turns away a second one.

Values

Value Numeric Value Description
Unknown 0 A reason this version of the API doesn’t know about
AlreadyConnectedToThisHost 1 The device already has a session with this host
ThisPCAlreadyConnectedToRemote 2 This PC is already connected to the device as a client, through a client entry. A device connects to this PC in only one direction at a time

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.