Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.26 KB

mobilebroadbandmodemisolation_addallowedhostrange_316209766.md

File metadata and controls

30 lines (21 loc) · 1.26 KB
-api-id -api-type
M:Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation.AddAllowedHostRange(Windows.Networking.HostName,Windows.Networking.HostName)
winrt method

Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation.AddAllowedHostRange

-description

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.

-parameters

-param first

The first allowed host in the range. Its type must be either IPv4 or IPv6.

-param last

The last allowed host in the range. Its type must be the same as that of first.

-remarks

You should add hosts before you call ApplyConfigurationAsync. The allowed hosts will be cleared after you call ClearConfigurationAsync.

-see-also

-examples

-capabilities

cellularDeviceIdentity, cellularDeviceControl