PC Review


Reply
Thread Tools Rate Thread

detecting IP Address of Pocket PC.

 
 
=?Utf-8?B?TmF2ZWVuIE11a2tlbGxp?=
Guest
Posts: n/a
 
      12th Sep 2004
Hi,

I want to detect the IP address of my Pocket PC at run time.
I am using C#, obviously .NET Compact Framework.
Could any one let me know the procedure,
Example code would be great.

Cheers,

Naveen.
 
Reply With Quote
 
 
 
 
Pete Vickers [eMVP]
Guest
Posts: n/a
 
      12th Sep 2004
Hi,
in vb.net

Dim localEndPoint As New
IPEndPoint(Dns.Resolve(Dns.GetHostName()).AddressList(0), 0)

localEndPoint.Address.ToString will give you the IP

Pete


--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com

Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups? Let us know!
https://www.windowsembeddedeval.com/...ity/newsgroups
"Naveen Mukkelli" <(E-Mail Removed)> wrote in
message news:5DB5A78C-A705-4B49-AC85-(E-Mail Removed)...
> Hi,
>
> I want to detect the IP address of my Pocket PC at run time.
> I am using C#, obviously .NET Compact Framework.
> Could any one let me know the procedure,
> Example code would be great.
>
> Cheers,
>
> Naveen.



 
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
Detecting ip address change ali.jan@gmail.com Windows XP Networking 2 9th Dec 2005 04:30 AM
Detecting the Pocket PC Power On/Off button Neville Lang Microsoft Dot NET Compact Framework 5 29th Sep 2004 07:22 PM
Detecting keys in Pocket PC Game. =?Utf-8?B?Sm9uYXMgRm9sbGVzw7g=?= Microsoft Dot NET Compact Framework 3 28th Apr 2004 09:32 PM
Detecting Absolute cell address acw Microsoft Excel Programming 0 12th Mar 2004 05:38 AM
Problems with Detecting TCP/IP Address Darren Windows XP Networking 1 10th Dec 2003 02:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:44 AM.