PC Review


Reply
Thread Tools Rate Thread

Connect/disconnect from the Internet

 
 
yyy
Guest
Posts: n/a
 
      10th Jan 2005
Hello,
Can someone please tell me how I can connect to the Internet and/or
disconnect from it using C#.NET ? I just want to open this window in
order to connect:
http://www.neowin.net/forum/uploads/...1105376475.png

and to know how to disconnect.

Thanks in advance

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
Reply With Quote
 
 
 
 
Branimir Giurov [C# MVP]
Guest
Posts: n/a
 
      10th Jan 2005
Hi there,

You can automatically connect to the net, if a default connection has been
selected inside the options of IE and the option "Dial whenever network
connection is not present" has been chosen for it. Besides that, you can use
a tool that comes with Windows 2000/XP/Windows Server 2k3 called
RasDial.exe. You can start it with a parameter specifying the name of the
connection that should be dialed. Check out the doc on the subject at:
http://www.microsoft.com/resources/d...s/rasdial.mspx

Cheers,
Branimir

--
Branimir Giurov
C# MVP, MCSD.NET, MCDBA
www.sofiadev.org



"yyy" <(E-Mail Removed)> wrote in message
news:41e2eb96$(E-Mail Removed)...
> Hello,
> Can someone please tell me how I can connect to the Internet and/or
> disconnect from it using C#.NET ? I just want to open this window in
> order to connect:
> http://www.neowin.net/forum/uploads/...1105376475.png
>
> and to know how to disconnect.
>
> Thanks in advance
>
> *-----------------------*
> Posted at:
> www.GroupSrv.com
> *-----------------------*



 
Reply With Quote
 
yyy
Guest
Posts: n/a
 
      11th Jan 2005
Thanks Branimir Giurov [C# MVP] I really appreciate your help,
but I've already found an answer here:
http://msdn.microsoft.com/library/de...e_internet.asp

Thanks anyway.

*-----------------------*
Posted at:
www.GroupSrv.com
*-----------------------*
 
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
Creating scheduler rules to connect to the internet on boot /disconnect on reboot Richard Stallmann Windows Vista General Discussion 0 15th Mar 2007 11:59 AM
Outlook 2003 window opens everytime connect/disconnect internet =?Utf-8?B?U3R2ZW4=?= Microsoft Outlook Discussion 0 11th May 2005 04:13 AM
looking for internet connect/disconnect proggy Joystick Freeware 2 12th Apr 2004 09:43 AM
XP: Audible notification on connect/disconnect from internet? =?ISO-8859-1?Q?Phil_H=FChn?= Windows XP General 6 25th Mar 2004 05:40 AM
XP: Audible notification on connect/disconnect from internet? =?ISO-8859-1?Q?Phil_H=FChn?= Windows XP Customization 6 25th Mar 2004 05:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:58 AM.