C#萌新 2021-07-15 10:12 采纳率: 0%
浏览 162

DotRas兼容windows10专业版吗?

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

  • 写回答

1条回答 默认 最新

  • C#萌新 2021-07-15 10:23
    关注

    感觉是哪个服务或者插件的问题,手动修改注册表VPN为自动开启状态重启之后就可以用了,但是再次重启就不行了(注册表VPN默认为禁用状态)

    评论

报告相同问题?

问题事件

  • 创建了问题 7月15日

悬赏问题

  • ¥15 虚拟机打包apk出现错误
  • ¥30 最小化遗憾贪心算法上界
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 逻辑谓词和消解原理的运用
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝