-api-id | -api-type |
---|---|
M:Windows.Networking.NetworkOperators.MobileBroadbandModemIsolation.AddAllowedHostRange(Windows.Networking.HostName,Windows.Networking.HostName) |
winrt method |
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.
The first allowed host in the range. Its type must be either IPv4 or IPv6.
The last allowed host in the range. Its type must be the same as that of first.
You should add hosts before you call ApplyConfigurationAsync. The allowed hosts will be cleared after you call ClearConfigurationAsync.
cellularDeviceIdentity, cellularDeviceControl