Share via


MiracastReceiverConnectionCreatedEventArgs.Pin Property

Definition

Getes the PIN that must be entered by the Miracast Transmitter device, or an empty string if PIN authentication is not in use.

public:
 property Platform::String ^ Pin { Platform::String ^ get(); };
winrt::hstring Pin();
public string Pin { get; }
var string = miracastReceiverConnectionCreatedEventArgs.pin;
Public ReadOnly Property Pin As String

Property Value

String

Platform::String

winrt::hstring

The PIN, or an empty string if PIN authentication is not used.

Remarks

If the string is not empty, the app should display the PIN so that it can be entered on the Miracast Transmitter device. The connection will be automatically disconnected if the PIN is not entered by the Miracast Transmitter in approximately 30 seconds.

Applies to