DotRas兼容windows10专业版吗?
别的操作系统都可以正常使用
RasEntry entry = RasEntry.CreateVpnEntry(EntryName, IPAddress.Loopback.ToString(), RasVpnStrategy.Default,
RasDevice.GetDeviceByName("(PPTP)", RasDeviceType.Vpn));
RasDevice.GetDeviceByName("(PPTP)"
引发类型为“DotRas.RasException”的异常。
在 DotRas.Internal.RasHelper.GetDevices()
在 DotRas.RasDevice.GetDevices()
在 DotRas.RasDevice.GetDeviceByName(String name, RasDeviceType deviceType, Boolean exactMatchOnly)
在 DotRas.Samples.CreateAndDialVpnEntry.MainForm.CreateEntryButton_Click(Object sender, EventArgs e) 位置 D:\whb\DotRas\sourceCode\Trunk\examples\src\WinForms\CreateAndDialVpnEntry\CS\CreateAndDialVpnEntry\MainForm.cs:行号 37
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 DotRas.Samples.CreateAndDialVpnEntry.Program.Main() 位置 D:\whb\DotRas\sourceCode\Trunk\examples\src\WinForms\CreateAndDialVpnEntry\CS\CreateAndDialVpnEntry\Program.cs:行号 17