WiFiOnDemandHotspotConnectTrigger Constructor

Definition

Initializes a new instance of the WiFiOnDemandHotspotConnectTrigger class.

Note

If you want to use this API in a UWP app, and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.onDemandHotspotControl_8wekyb3d8bbwe (the On-Demand Network capability). For more info, see Custom capabilities.

The On-Demand Network capability will be made available only to app developers building end-to-end Wi-Fi hotspot scenarios between a tethering-capable hardware device and a Windows PC.

public:
 WiFiOnDemandHotspotConnectTrigger();
 WiFiOnDemandHotspotConnectTrigger();
public WiFiOnDemandHotspotConnectTrigger();
function WiFiOnDemandHotspotConnectTrigger()
Public Sub New ()

Windows requirements

App capabilities
onDemandHotspotControl

Applies to