CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Dec 2003
    Location
    St. Cugat - Catalunya
    Posts
    441

    [SOLVED] How to disable a LAN connection?

    Is there any way to emulate the enable/disable button of the Status connection window for a LAN?

    In other words, I have a PC connected via Ethernet+router to Internet and I want to disconnect it for a period and then connect it again.

    I searched in MSDN but all I found was RasDialUp/RasHangUp for dial up connections. I'm not able to find anything on LAN connections.

    Thanks
    Last edited by DeepButi; December 30th, 2007 at 10:07 AM.
    Did it help? rate it.

    The best conversation I had was over forty million years ago ... and that was with a coffee machine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured