NOW LOADING

MidiNetworkRefusedRemoteClient


A device a host turned away because it already had a session with this PC
Namespace Windows.Devices.Midi2.Transports.Network
Type Name MidiNetworkRefusedRemoteClient
Type WinRT Runtime Class
IDL MidiNetworkRefusedRemoteClient.idl

Added in version 2 of MidiTransportsNetworkApiContract.

Reported in the RecentlyRefusedRemoteClients list of MidiNetworkConfiguredHost. You can’t create one yourself.

Properties

Property Description
HostId The GUID of the host that turned the device away. Always set: never GuidHelper.Empty()
UmpEndpointName The UMP Endpoint Name the device sent. Show this to people
ProductInstanceId The Product Instance Id the device sent
RemoteAddress The address the invitation came from. For display only. Don’t use it to recognize the device
RefusedTime When the host last turned the device away, in UTC
Reason Why the host last turned the device away, as a MidiNetworkRemoteClientRefusalReason

Remarks

A device can have only one Network MIDI 2.0 session with this PC at a time. When it tries to open a second one, the host says no. Without this list, the person at the PC has no way to tell why the device didn’t connect.

A device has one entry, however often it tries and for whichever reason. RefusedTime and Reason are from its latest try. Entries go away a few minutes after the last try.

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.