How to generate user defined PIN in a Miracast Receiver application in Windows 10 using Windows.Media.Miracast namespace ?
Hi All, I have created an application using the Miracast namespace that acts as a Miracast receiver. I have made it as per my requirements except for one thing and it's like this - Whenever any Miracast-supported Android device or Windows PC or Sender connects to the Miracast receiver application, this receiver application generates a new PIN every time for authorization using the MiracastReceiverConnectionCreatedEventArgs class. But I require that I write the logic of generating this PIN in my Miracast Receiver application and authorize the receiver app Sender through the same PIN. The MiracastReverseSectionCreatedEventArgs class only has the function to get the PIN, not to set it. Can I somehow set a PIN to complete the authorization process? Thanks in advance to everyone. :)