Share via


CaptiveNetwork.MarkPortalOffline(String) Method

Definition

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

Applies to