CaptiveNetwork.MarkPortalOffline(String) Method
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.
Let the system know that the specified interface has not authenticated and is not a viable network interface for the rest of the system.
public static bool MarkPortalOffline(string iface);
static member MarkPortalOffline : string -> bool
Parameters
- iface
- String
The network interface that is not authenticated.
Returns
A boolean value indicating whether the operation was successful or not.
Remarks
This API is only available on devices. An EntryPointNotFoundException will be thrown on the simulator