dial-up

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

二次信任 提交于 2019-11-30 17:51:28
问题 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. 回答1: Check out the DotRas