In this article we are going to see how to get the Network addresses (both Mac and Physical) in Windows Phone development Emulator. While developing the application Emulator plays a major role when application is using some of the Internet based capabilities like accessing the Internet, getting physical network connectivity access etc. Basically Windows Phone Emulator works as a separate device with its own IP Address over the network and not associated with any domain or subdomain. The emulator has its own set of MAC addresses and by default we cant access any resources over the internet or the network from the emulator. [more]
Let us see how we can check the address of the network from the Windows Phone Emulator. Open Visual Studio IDE in administrator mode and lets us use an existing application which we developed in our previous tutorial as shown in the screen below.
Build and execute the application by simply pressing F5 from the keyboard and we can see the application will be deployed to the Windows Phone Emulator (Check the type selected if device or Emulator in the top ribbon menu) as shown in the screen below.
Now click on the >> button in the Windows Phone emulator toolbar which is on the right side of the emulator which will go to the advanced settings of the Emulator as shown in the screen below.
To get the Physical address and the network information of the Emulator click on the Network tab (last tab) in the advanced settings window which will have the complete details that are required as shown in the screen below.
We can refresh and check the settings every time connecting to a network or managed to connect to a domain with the basic settings.