易丰科技
标题:
c# 拨接 vpn
[打印本页]
作者:
Calvin
时间:
2011-10-3 19:57
标题:
c# 拨接 vpn
connect from VPN
System.Diagnostics.Process.Start("rasdial.exe", "My_VPN My_Username My_Password");
To disconnect from the VPN, simply use this line:
System.Diagnostics.Process.Start("rasdial.exe", "My_VPN /d");
复制代码
欢迎光临 易丰科技 (http://forum.yftek.com/)
Powered by Discuz! X3