Get the ipaddress of windows phone mango device - windows-phone-7

In the deviceextendedproperties class there is no way to get the ip address of thedevice.
refer : deviceextendedproperties.
Please will you tell me how to get this.

To get the IP address, do a remote lookup on a site like http://www.whatsmyip.org/
There's no API for this, and neither should there be.

There is no API currently in the WP7 for knowing Ip address.
But other network properties can be obtained are describe in this link.
http://msdn.microsoft.com/en-us/library/microsoft.phone.net.networkinformation%28v=VS.92%29.aspx

Related

A program to update the public IP address of a network/ computer to a website

Sorry if this is not really relevant to stack overflow but I'm sure someone will know the answer.
I have a Mac at home and want the IP address of that network to be sent to a page on my website.
I have port forwarded a program on my Mac and want to access it when I am out and about. I've tried dynamic DNS and have had no luck due to my routers lack of editable settings.
I would really appreciate it if someone knew of a way that I could find out the public IP address of my home network remotely by having it updating on my website, or if this is not possible a service which offers this ability.
Obviously it would be great if this was a free service/ program.
Thanks in advance,
Ed.
just create a bash script that sends to your website. you must be something know about API for your website.
for try this also http://www.noip.com/download?page=mac
You could try http://noip.com.
I think they have a mac tool to do this.

WP7 Get Wi-Fi gateway IP address

Is there someway to get the IP address of the gateway the phone is currently connected to?
I tried searching through the msdn library but did not succeed.
As far as I know there is no API to obtain that information available.

Where I can see IP of my application?

I've added custom hostname for my application and now I need get IP address of the application to set it in CNAME. Where I can take it?
Thanks.
This was answered on AppHarbor support, the relevant IP address is displayed in the AppHarbor interface.

rails/devise: heroku app not recording user's ip addresses correctly?

All of the users in my app's Users table have signin IP addresses that are 'private' 10.x.x.x
So while devise is recording the IP address of a user when they signin, it appears to ACTUALLY be recording some sort of heroku internal IP address, probably related to the fancy grid architecture routing.
Does anyone know how my heroku-hosted app can record the actual incoming IP address?
It should be able to.
Something like this should yield the proper IP address:
ip = env[‘HTTP_X_REAL_IP’] ||= env[‘REMOTE_ADDR’]
The problem is because your app is behind a proxy or something like that.
Look at this patch: https://github.com/plataformatec/devise/pull/1398
It should solve the problem.

Mac-os-x how to get network details like ip-address, subnet mask,etc

I am new to Mac-OS-X development. I want to get the users Network details just for displaying it in my application. Details such as the IP address, Subnet mask, status whether connected or not, etc.
Is it possible to get the same??
And secondly, Is the IP address different for wireless lan connections and the normal ethernet connections?? I am a little weak at networking concepts.
Any help will be appreciated.
note: I already tried searching the apple developer site for leads but wat i could find is only the System Configuration Programming guide
Strange.. There are no Frameworks or classes to get the IP address... But i somehow managed to get my hands on the following information.. First with this reference.. And secondly i found that..
As mentioned in the link, If we manually set the IP, then it gets stored in the preferences.plist.
But if we set the IP to DCHP, then we can get the ConfigMethod as "DCHP" and hence check the com.apple.network.identification.plist, it'll have the details for the IP address.
Hence with the use of both the plist and checking whether the ConfigMethod is "Manual" or "DCHP" we can get the current IP address albeit this is not documented anywhere.

Resources