我如何在Windows拨号(RAS)的连接工作,使用C#/。NET? [英] How do I work with dial-up (RAS) connections in Windows using C#/.NET?

查看:197
本文介绍了我如何在Windows拨号(RAS)的连接工作,使用C#/。NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够连接,断开连接,重新连接在C#.NET Framework应用程序一个拨号网络连接。在创建电话簿连接可能也是有益/必要的。

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.

是否有C#或.NET编写了那里,包装所有这些功能都很好,我的任何类或库?任何人有一些code,他们愿意分享?

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.

推荐答案

查看上codePlex.com的DotRas项目,它已经完成了全部的API。

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

HTTP://www.$c$cplex.com/DotRas

这篇关于我如何在Windows拨号(RAS)的连接工作,使用C#/。NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆