HotspotAuthenticationContext class
TOC
Collapse the table of content
Expand the table of content

HotspotAuthenticationContext class

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 permission to use this API, please reach out to Network Operators API Permissions.

For technical help with this API, please reach out to Network Operators API Help

 

Syntax


var hotspotAuthenticationContext = Windows.Networking.NetworkOperators.HotspotAuthenticationContext;

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-only

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

NetworkAdapter

Read-only

Gets the network interface that is connected to the WLAN access point of the hotspot.

RedirectMessageUrl

Read-only

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

RedirectMessageXml

Read-only

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

WirelessNetworkId

Read-only

Gets the SSID of the WLAN access point of the hotspot.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

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

See also

Object
HotspotAuthenticationEventDetails

 

 

Show:
© 2016 Microsoft