Dela via


HotspotAuthenticationEventDetails.EventToken Property

Definition

Gets a GUID that uniquely identifies the authentication attempt for which this event was raised.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators. For more information, see Mobile broadband and Windows 8 Integration for Wireless Hotspot Operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 property Platform::String ^ EventToken { Platform::String ^ get(); };
winrt::hstring EventToken();
public string EventToken { get; }
var string = hotspotAuthenticationEventDetails.eventToken;
Public ReadOnly Property EventToken As String

Property Value

String

Platform::String

winrt::hstring

A GUID that uniquely identifies the connection attempt.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The handler retrieving this token must call TryGetAuthenticationContext to retrieve the full context of this event.

Applies to