[C#] Programmically connect to a wireless display
I need to develop a WPF application that will programmatically add a specific device (a Samsung Tablet) as a wireless display device for Win10. Basically what the 'Win key + K' does, minus the device selection part. Both the Win 10 system and the tablet will be on the same Wifi network.
I have run the Basic casting, Advance casting and Project sample from Windows UWP samples. Basic casting and Advance casting are unable to find the Samsung tablet, while Win+ K can. In addition, these samples are either only casting a video, or the current application (instead of the desktop) to the remote device. They also do not enable UIBC feature.
May I know if there is any sample that is suitable for me? Or can point me to any documentation on this topic?
Thank you,
Angela