Search code examples
c#.netdial-upras

How do I work with dial-up (RAS) connections in Windows using C#/.NET?


I need to be able to connect, disconnect, and re-connect a dial-up networking connection in a C# .NET Framework application. Creating the connection in the phone-book might also be useful/necessary.

Are there any classes or libraries written for C# or .NET out there that wrap all this functionality nicely for me? Anyone have some code they would be willing to share?

Note: Application is unattended, like a Kiosk, and thus requiring user action is unacceptable.


Solution

  • Check out the DotRas project on CodePlex.com, it has the entire API completed.

    http://www.codeplex.com/DotRas