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 more information, see Mobile Broadband: Windows Store device apps.
Syntax
var hotspotAuthenticationContext = Windows.Networking.NetworkOperators.HotspotAuthenticationContext;
Attributes
- StaticAttribute(Windows.Networking.NetworkOperators.IHotspotAuthenticationContextStatics, NTDDI_WIN8)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
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.
| Method | Description |
|---|---|
| AbortAuthentication | Aborts the current authentication attempt and disconnects the WLAN interface from the hotspot. |
| IssueCredentials | 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.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets the HTTPS URL specified in the Wireless Internet Service Provider roaming (WISPr) redirect message. | |
| Read-only | Gets the network interface that is connected to the WLAN access point of the hotspot. | |
| Read-only | Gets the URL of the web page where the Wireless Internet Service Provider roaming (WISPr) redirect message was found. | |
| Read-only | Gets the XML blob of the Wireless Internet Service Provider roaming (WISPr) redirect message of the hotspot. | |
| Read-only | Gets 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] |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
