PC Review


Reply
Thread Tools Rate Thread

how can i get the ip address of my pocket pc on the network or thru a connecting web service?

 
 
Katie
Guest
Posts: n/a
 
      14th Nov 2003
thanks


 
Reply With Quote
 
 
 
 
Paul G. Tobey [eMVP]
Guest
Posts: n/a
 
      14th Nov 2003
Please put the question in the body!

You need to tell us *who* is trying to get the address? If it's the program
running on the Pocket PC, then the answer is different than if it's some
other machine on the network...

Paul T.

"Katie" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> thanks
>
>



 
Reply With Quote
 
Andrew Martin
Guest
Posts: n/a
 
      14th Nov 2003
"Katie" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> thanks


IPHostEntry ipEntry = Dns.GetHostByName(Dns.GetHostName());
foreach (IPAddress ipAddress in ipEntry.AddressList)
MessageBox.Show("IP: " + ipAddress.ToString());

You'll pick up 2 IPs when you are in ActiveSync.

-a
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Acquiring network address & Wireless Zero Config service =?Utf-8?B?TGV3IFdlcnRsZXk=?= Windows XP Networking 0 13th May 2006 11:46 PM
Connecting to a network share not working in a Windows Service JohnFol Microsoft Dot NET 5 16th May 2005 07:30 PM
Connecting Web Service to Pocket PC App VS 2005 - "Hello World" =?Utf-8?B?VGhvbWFz?= Microsoft Dot NET Compact Framework 0 18th Nov 2004 05:33 PM
General Network Error - Connecting Pocket PC with SQL Server (Desktop) Leonardo Castillo Microsoft Dot NET Compact Framework 6 21st Jun 2004 09:39 PM
Connecting Pocket PC Tom Windows XP Hardware 1 19th Aug 2003 08:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:29 PM.