Click to See Complete Forum and Search --> : internet connection sharing (ICS) using C#
chimgokien
March 4th, 2009, 11:08 AM
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.
toraj58
March 4th, 2009, 04:23 PM
share internet connection with what?
you may mean use inetrnet connections.
if so what exactly do you want to do?
chimgokien
March 4th, 2009, 08:39 PM
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 ?????
toraj58
March 6th, 2009, 11:49 AM
you need to find the registry key of ICS and writing to it directly with C#:
http://www.google.com/search?hl=en&rls=GBSA%2CGBSA%3A2008-30%2CGBSA%3Aen&q=Allow+other+network+users+to+connect+through+this+computer%27s+Internet+connection+registry+key
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.