How to configure IPV4 address and Subnet Mask

In Xamarin iOS we can connect to a Wi-Fi network using SSID and password as below

var config = new NEHotspotConfiguration(SSID, Password, false) {
JoinOnce = false };

var configManager = new NEHotspotConfigurationManager();

await configManager.ApplyConfigurationAsync(config);
provided HotSpotConfiguration is added in the app entitlement.

My question is

Is it possible to change Configure IP option from Automatic to Manual?
If yes, how to configure IP address and subnet mask?

I am able to connect a specific WI-Fi network. But in order to run mobile data and Wi-Fi at the same time, IP address and subnet mask need to be added. I am not sure how to add them programmatically.

Answers

  • ColeXColeX Member, Xamarin Team Xamurai
    edited December 2018

    Is it possible to change Configure IP option from Automatic to Manual?

    As far as i know, it is impossible. Apple doesn't provide such API.

Sign In or Register to comment.