Create Dial Up Connection
-
Hi wold of CodeProject! How can i Create a dialup Connection via C# Windows Application. and also i wanna to dialup to internet directly via the connection i created. Thanks!
-
Hi wold of CodeProject! How can i Create a dialup Connection via C# Windows Application. and also i wanna to dialup to internet directly via the connection i created. Thanks!
You'll need to P/Invoke RAS APIs documented at http://msdn.microsoft.com/en-us/library/aa446739(v=VS.85).aspx[^]. Fortunately, here on CodeProject someone already shows you how: A web based dialup Internet application[^]. It contains the APIs within an ASP.NET application but you wouldn't need to. The classes and methods it uses should work in any host like Windows Forms.
This posting is provided "AS IS" with no warranties, and confers no rights. Program Manager II Visual Studio Professional Deployment Experience Microsoft [My Articles] [My Blog]