HotspotAuthenticationContext class

Applies to Windows and Windows Phone

Provides the authentication context that contains details of the current authentication attempt and provides methods to perform the authentication.

Note  This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators. For more information, see Mobile Broadband: Windows Store device apps.

Syntax


var hotspotAuthenticationContext = Windows.Networking.NetworkOperators.HotspotAuthenticationContext;

Attributes

[Threading(Both)]
[Version(0x06020000)]

Members

The HotspotAuthenticationContext class has these types of members:

Methods

The HotspotAuthenticationContext class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
AbortAuthentication Aborts the current authentication attempt and disconnects the WLAN interface from the hotspot.
IssueCredentials Provides credentials to Windows for hotspot authentication
IssueCredentialsAsync Asynchronously provides credentials to Windows for hotspot authentication
SkipAuthentication Skips Wireless Internet Service Provider roaming (WISPr) Windows authentication.
TriggerAttentionRequired Called by a background task handler to launch the foreground application when there is an authentication attempt to complete.
TryGetAuthenticationContext Gets the context of an authentication attempt.

 

Properties

The HotspotAuthenticationContext class has these properties.

PropertyAccess typeDescription

AuthenticationUrl

Read-onlyGets the HTTPS URL specified in the Wireless Internet Service Provider roaming (WISPr) redirect message.

NetworkAdapter

Read-onlyGets the network interface that is connected to the WLAN access point of the hotspot.

RedirectMessageUrl

Read-onlyGets the URL of the web page where the Wireless Internet Service Provider roaming (WISPr) redirect message was found.

RedirectMessageXml

Read-onlyGets the XML blob of the Wireless Internet Service Provider roaming (WISPr) redirect message of the hotspot.

WirelessNetworkId

Read-onlyGets the SSID of the WLAN access point of the hotspot.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Networking.NetworkOperators
Windows::Networking::NetworkOperators [C++]

Metadata

Windows.winmd

See also

HotspotAuthenticationEventDetails

 

 

Show:
© 2014 Microsoft