NOW LOADING

MidiRtpRemoteClientApprovalResponse


Result of approving or denying a remote RTP-MIDI device
Namespace Windows.Devices.Midi2.Transports.Rtp
Type Name MidiRtpRemoteClientApprovalResponse
Type WinRT Runtime Class
IDL MidiRtpRemoteClientApprovalResponse.idl

Returned by MidiRtpTransportManager.ApproveOrDenyRemoteClientConnectRequestAsync.

Properties

Property Description
HostId The GUID of the host the decision was for
RemoteClientName The name of the remote device the decision was for
Success True if the decision was applied
ErrorCode A MidiRtpRemoteClientApprovalErrorCode when Success is false
ErrorMessage A description of the failure that people can read

Remarks

A decision for one request fails with PendingRemoteClientNotFound when the remote device isn’t waiting any more. That’s normal if it stopped asking a couple of minutes before someone decided. A decision that isn’t limited to one request still works then.

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.