| Namespace | Windows.Devices.Midi2.Transports.Rtp |
|---|---|
| Type Name | MidiRtpRemoteClientDisconnectConfig |
| Type | WinRT Runtime Class |
| Implements | IMidiServiceTransportPluginConfig |
| IDL | MidiRtpRemoteClientDisconnectConfig.idl |
Pass to MidiRtpTransportManager.DisconnectRemoteClientAsync.
| Constructor | Description |
|---|---|
MidiRtpRemoteClientDisconnectConfig() |
Creates an empty configuration |
MidiRtpRemoteClientDisconnectConfig(hostId, connectionId) |
Creates a configuration with both values set |
| Property | Description |
|---|---|
HostId |
The GUID of the host on this PC |
ConnectionId |
The connection to end, from MidiRtpConnection.ConnectionId |
This ends the connection and nothing more. No decision is recorded, so the remote device may connect again. To turn it away in future, deny it with ApproveOrDenyRemoteClientConnectRequestAsync.
A connection is named by its id rather than by the remote device’s name, because two remote devices can send the same name.
