i need to find the IP address of the phone my software is running on. I would have thought that is straight forward but having searched the forums it seems like (unbelievably enough) that there isn't a method for this in windows phone 7 - however, has this changed in windows phone 8? any help would be appreciated.
相关问题
- How to access the camera from my Windows Phone 8 a
- How to append a file, asynchronously in Windows Ph
- Save pictures to custom folder in media library
- How to show/hide (with animation if possible) a Ch
- How to change the IP address of a docker after cre
相关文章
- PostgreSQL field data type for IPv4 addresses
- How to find that an IP address is a LAN IP or WAN
- Direct IP call android
- Automate ftp upload to ip
- LongListSelector on WP8 linq-to-sql binding issue
- How to free image cache/memory in Windows Phone 8?
- WP8 HttpClient.PostAsync never returns result
- Connect to another computer using IP address
Of course there is a way to find the phones IP address. Here is a MSDN blog blog article which explains how to do it: Finding Your Own IP Address On Windows Phone Mango
I've just tested it on my Nokia Lumia 920 (Windows Phone 8) and it works just fine. However, this just works on WiFi due to the used multicast IP.
Code for Windows RT
Yes this is now possible in WP8 without using the multicast solution required for WP7. Note that you will have multiple network interfaces on your phone (e.g. three on my WP8 Emulator)
HTH