CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    2

    Lightbulb internet connection sharing (ICS) using C# please help me !!!

    Please help me!!!
    I'm programming a project in C# .net that need share the internet connection of NIC card. I don't known the function to execute.


    Thank for any advice.
    Last edited by chimgokien; March 4th, 2009 at 12:17 PM.

  2. #2
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: internet connection sharing (ICS) using C#

    share internet connection with what?
    you may mean use inetrnet connections.
    if so what exactly do you want to do?
    Please rate my post if it was helpful for you.
    Java, C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

  3. #3
    Join Date
    Mar 2009
    Posts
    2

    Re: internet connection sharing (ICS) using C#

    so in win XP I can do in easy way by:

    # Log on to the host computer as Administrator or as Owner.
    # Click Start, and then click Control Panel.
    # Click Network and Internet Connections.
    # Click Network Connections.
    # Right-click the connection that you use to connect to the Internet.
    # Click Properties.
    # Click the Advanced tab.
    # Under Internet Connection Sharing, select the Allow other network users to connect through this computer's Internet connection check box.

    But I mean I want to auto configure by functions of C#. Do anyone know that functions ?????

  4. #4
    Join Date
    Mar 2008
    Location
    IRAN
    Posts
    811

    Re: internet connection sharing (ICS) using C#

    you need to find the registry key of ICS and writing to it directly with C#:

    http://www.google.com/search?hl=en&r...n+registry+key
    Please rate my post if it was helpful for you.
    Java, C#, C++, PHP, ASP.NET
    SQL Server, MySQL
    DirectX
    MATH
    Touraj Ebrahimi
    [toraj_e] [at] [yahoo] [dot] [com]

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