windows 8/10 个移动应用中的网络拦截

Network interception in windows 8/10 mobile apps

是否可以在 windows 8/10 手机中拦截网络呼叫?如果不是,VPN 应用程序如何在移动设备上运行?

我认为没有办法拦截网络调用。

虽然有管理 VPN 连接的编程支持。 Windows.Networking.VPN 命名空间就是您要找的。如链接页面所述,发布到商店的应用程序访问此命名空间受到限制:

If your app is using this API and you wish to publish your app to the Microsoft Store, special permissions must be provisioned for your Microsoft developer account, or the VPN calls will fail at runtime. This permission is not needed if the application is side-loaded or installed through a different method.

To request permission to release your VPN app through the Microsoft Store, contact msftvpnstore@microsoft.com and include information about your company and your VPN app.

If you have any questions about the VPN API, contact msftvpnapi@microsoft.com.

我建议您首先联系上述地址之一并说明您的情况,以便尽早获得所需的支持。