Edit

Share via


HS_CONNECTION_CONTEXT structure

Wi-Fi Hotspot Offloading deprecation note

Important

Starting in Windows 10, version 1709, the Wi-Fi Hotspot Offloading feature is deprecated and should not be used. Instead, we recommend writing a UWP app and using the Wi-Fi Hotspot Authentication API (Windows.Networking.NetworkOperators).

For a code sample and more info, see the Wi-Fi hotspot authentication sample.

The HS_CONNECTION_CONTEXT structure contains the information required by the plugin for post connect authentication.

Syntax

typedef struct _HS_CONNECTION_CONTEXT {
  HS_MAC_ADDRESS  MacAddress;
  HS_SIM_IDENTITY SIMIdentity;
  WCHAR           pszPhoneNumber[HS_MAX_PHONE_NUMBER_LENGTH+1];
} HS_CONNECTION_CONTEXT, *PHS_CONNECTION_CONTEXT;

Members

MacAddress
The HS_MAC_ADDRESS structure that contains the MAC address.

SIMIdentity
The HS_SIM_IDENTITY structure that contains information required for EAP-SIM/AKA authentication.

pszPhoneNumber
Pointer to the phone number.

Requirements

Header

Hotspotoffloadplugin.h (include Hotspotoffloadplugin.h)

See also

HS_MAC_ADDRESS

HS_SIM_IDENTITY