[C#] Programmically connect to a wireless display

Angela Yan 1 Reputation point
2021-07-08T09:40:01.437+00:00

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

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,780 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.