Windows Vista和Windows 7中Windows ICS API的可用性 [英] Availability of Windows ICS API in Windows Vista and Windows 7

查看:98
本文介绍了Windows Vista和Windows 7中Windows ICS API的可用性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要开发一个应用程序来自动为Windows XP Pro重新配置ICS, Windows Vista(企业和企业版)和Windows 7(Pro和企业版).我的应用程序 具有单个专用网络连接,但是有多种可能的连接到Internet的方式(例如,有线以太网,无线LAN和蜂窝网络). Windows Vista和Windows 7以及Windows XP似乎都支持Windows ICS服务,但是那里 警告说Windows XP以后的Windows将来版本可能不支持Windows ICS和ICF API,并且对Windows Vista和Windows 7进行试验似乎表明这些版本的Windows可能不支持它们.但是,有些 Microsoft网页似乎表明Windows Vista和Windows 7支持Windows ICS和ICF API.是否需要安装或启用某个组件,以使Windows Vista和Windows 7中可以使用Windows ICS和ICF API?警告 关于Windows ICS和ICF API即将消失的建议使用Windows防火墙API,但是此API似乎不提供Windows ICS API中提供的功能(即自动重新配置Windows ICS的功能).如果Windows ICS API是 在Windows Vista和Windows 7中不可用,是否可以使用另一个API在与当前Internet连接关联的专用接口和公用接口之间自动配置NAT路由器?

I need to develop an application to automate the reconfiguration of ICS for Windows XP Pro, Windows Vista (Business and Enterprise), and Windows 7 (Pro and Enterprise). My application has a single private network connection, but multiple possible ways of connecting to the Internet (e.g. wired Ethernet, wireless LAN, and cellular). The Windows ICS service seems to be supported in Windows Vista and Windows 7 as well as Windows XP, but there are warnings that the Windows ICS and ICF APIs may not be supported in future versions of Windows beyond XP, and experimentation with Windows Vista and Windows 7 seems to suggest they may not be supported for these versions of Windows. However, some of the Microsoft web pages seem to indicate the Windows ICS and ICF APIs are supported for Windows Vista and Windows 7. Is there a component I need to install or enable that makes the Windows ICS and ICF APIs available in Windows Vista and Windows 7? The warnings about the Windows ICS and ICF APIs going away suggest using the Windows Firewall API, but this API does not seem to provide the capability provided in the Windows ICS API (i.e. the ability to automatically reconfigure Windows ICS). If the Windows ICS API is not available in Windows Vista and Windows 7, is there another API I can use to automatically configure a NAT router between the private interface and the public interface associated with the current Internet connection?

推荐答案

有关Windows 7和Windows Server 2008 R2上ICS的一些讨论,位于http://msdn.microsoft.com/en-us/library/dd815252(v=vs.85).aspx
There are some discussions about ICS on Windows 7 and on Windows Server 2008 R2 at http://msdn.microsoft.com/en-us/library/dd815252(v=vs.85).aspx


这篇关于Windows Vista和Windows 7中Windows ICS API的可用性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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