Display or Change Windows Firewall Settings

Category:
Network/Internet
Type:
Snippets
Difficulty:
Beginning
Author:
Anonymous

Version Compatibility:

More information:
The following two pieces of code let you easily view and change the ICMP settings in your Windows Firewall. Sometimes Windows is easier to manage via scripts than its UI. This can easily be extended to view the other settings and modify them as needed.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: