Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2007

Tip: Looking for answers? Try searching our database.

How to automatically connect to web via DUN and detecting IP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John K - 07 Aug 2007 16:10 GMT
I am writing an Compact Framework 2.0 application in C# for a CE 4.2 device.  
I need to programmatically connect to the Internet via Dial Up Networking.  
In the past I used the Connection Manager in eMbedded C++, however, I cannot
use this since it references cellcore.dll, which does not exist since it is a
PDA and not a cell phone.  Is there a managed API I can call to
programmatically connect to the Internet.  I know I can shell execute
"rnaapp.exe -eDUN", where DUN is the name of my Dial Up Networking
connection.  However this is awkward since it prompts the user to click "OK"
to actually dial.  I do not want the user to get prompted; I just want to
automatically connect.  

Also, what managed function do I call to see what the current IP address is
of my CE device?
Signature

Thank you.

Walter Wang [MSFT] - 08 Aug 2007 06:16 GMT
Hi John,

Please note that currently Windows Embedded and .NET Compact Framework are
not supported by MSDN Managed Newsgroup support service. Please use
newsgroups here:
http://msdn.microsoft.com/newsgroups/topic.aspx?url=/MSDN-FILES/028/201/295/
topic.xml or forum here:
http://forums.microsoft.com/msdn/showforum.aspx?forumid=33&siteid=1 for
further support. Thank you for your understanding.

Regards,
Walter Wang (wawang@online.microsoft.com, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.