Reputation: 448
I am trying to create a sort of lockout functionality for Windows 10 IoT Core so it can be used on a local display as well as by the Windows 10 IoT Remote Client. And when the Remote Client is in use some functionality can't be used on the local display.
To do this I am just looking for a way to detect if the Remote Client is active or an event that fires when remote client begins and stops that I can use in the UWP code to be able to implement this.
Thanks!
Upvotes: 0
Views: 35
Reputation: 4432
You may try to monitor if there is a connectivity of the Remote Client. It seems that the port for Remote Client is 8000. You can use netstat
command to confirm the port. ControlChannelTrigger enables real time notifications to be received in the background for objects that establish a TCP connection. You may refer to this sample.
Upvotes: 1