IP address?

  • Thread starter Thread starter Darin
  • Start date Start date
D

Darin

How can I get the IP address of a Pocket PC device? I am writing a
CF.NET program and I want to use the IP address as the unique string for
this PPC which is different than all other PPC's on their network.

THanks in advance.

Darin
 
Hi Darin,

If you are using a PPC 2003/2002 it has a device ID that you can use for
uniqueness. it's more reliable that using the IP of the device, if you
anyway need the IP of it you can use a similar code than in the desktop:

Dns.GetHostByName(Dns.GetHostName()).AddressList [0]


Cheers,
 
Back
Top