Share via


MobileBroadbandModemIsolation Class

Definition

A class with methods for disallowing and allowing certain types of data traffic through the mobile broadband modem; essentially isolating the user equipment (UE), or device.

public ref class MobileBroadbandModemIsolation sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Networking.NetworkOperators.IMobileBroadbandModemIsolationFactory, 393216, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MobileBroadbandModemIsolation final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Networking.NetworkOperators.IMobileBroadbandModemIsolationFactory), 393216, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MobileBroadbandModemIsolation
function MobileBroadbandModemIsolation(modemDeviceId, ruleGroupId)
Public NotInheritable Class MobileBroadbandModemIsolation
Inheritance
Object Platform::Object IInspectable MobileBroadbandModemIsolation
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Constructors

MobileBroadbandModemIsolation(String, String)

Creates a new instance of a MobileBroadbandModemIsolation.

Methods

AddAllowedHost(HostName)

Adds an allowed host. You can call this method multiple times to add multiple allowed hosts. Traffic to the added host(s) will be allowed after you call ApplyConfigurationAsync.

AddAllowedHostRange(HostName, HostName)

Adds a range of allowed hosts. You can call this method multiple times to add multiple ranges of allowed hosts. Traffic to the added host(s) will be allowed after you call ApplyConfigurationAsync.

ApplyConfigurationAsync()

Asynchronously isolates the modem to allow only core networking traffic (such as DHCP, DNS, and ICMP) or traffic to a set of allowed hosts as specified by AddAllowedHost or AddAllowedHostRange.

ClearConfigurationAsync()

Asynchronously allows all traffic through the modem.

Applies to