Current IP is 127.0
From: Pascal Berger (pascal.berger_at_timeware.dontspamme.ch)
Date: 02/14/05
- Next message: Ginny Caughey [MVP]: "Re: Cannot copy PC file to PocketPC"
- Previous message: dn_perl_at_hotmail.com: "Re: Sync-ing a Symbol PDA with XP"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 20:12:17 +0100
I use the following code to get the IP address of a pocket pc device:
string HostName = Dns.GetHostName();
IPHostEntry thisHost = Dns.GetHostByName(HostName);
string thisIpAddr = thisHost.AddressList[0].ToString();
Unfortunatly sometimes this reports 127.0.0.1, when connected with the
craddle.
VxUtil also reports 127.0.0.1 for the curent IP, but also an adapter
(ppp1 or USB Cable, depending on Pocket PC version) with an valid IP
adress. Other applications, like PocketIE are also working fine.
Thanks in advance
Pascal
- Next message: Ginny Caughey [MVP]: "Re: Cannot copy PC file to PocketPC"
- Previous message: dn_perl_at_hotmail.com: "Re: Sync-ing a Symbol PDA with XP"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|