CaptiveNetwork Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deprecated: Use NEHotspotHelper instead. A class that encapsulates the Captive Network system component, which is responsible for detecting networks that require user interaction prior to providing Internet access.
public static class CaptiveNetwork
type CaptiveNetwork = class
- Inheritance
-
CaptiveNetwork
Properties
| Name | Description |
|---|---|
| NetworkInfoKeyBSSID |
Represents the value associated with the constant kCNNetworkInfoKeyBSSID |
| NetworkInfoKeySSID |
Represents the value associated with the constant kCNNetworkInfoKeySSID |
| NetworkInfoKeySSIDData |
Represents the value associated with the constant kCNNetworkInfoKeySSIDData |
Methods
| Name | Description |
|---|---|
| MarkPortalOffline(String) |
Let the system know that the specified interface has not authenticated and is not a viable network interface for the rest of the system. |
| MarkPortalOnline(String) |
Let the system know that the specified interface has now been authenticated and is now a viable network interface for the rest of the system. |
| SetSupportedSSIDs(String[]) |
Set an array of SSIDs the application will authenticate. |
| TryCopyCurrentNetworkInfo(String, NSDictionary) |
Copy the current network information into an NSDictionary. |
| TryGetSupportedInterfaces(String[]) |
Fetch a list of the currently supported network interfaces. |