How to automatically connect to web via DUN and detecting IP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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 ([email protected], 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.
 
Back
Top