Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Internet Connection Firewall may be altered or unavailable in subsequent versions. Instead, use the Windows Firewall API.]
The following sections contain sample code that demonstrates how to use the Internet Connection Sharing and Internet Connection Firewall (ICS) API.
- Enabling Internet Connection Firewall (VBScript)
- Retrieving the Properties of a Connection (VBScript)
- Retrieving the Properties of a Connection (JScript)
- Adding and Removing Port Mappings (JScript)
- Adding and Removing Port Mappings (C++)