39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
Windows Firewall Samples (Disable Firewall Per Interface)
|
|
===============================
|
|
demonstrates Windows Firewall Disable Firewall Per Interface.
|
|
|
|
|
|
Sample Language Implementations
|
|
===============================
|
|
This sample is available in the following language implementations:
|
|
C++
|
|
|
|
|
|
To build the sample using the command prompt:
|
|
=============================================
|
|
1. Open the Command Prompt window and navigate to the directory.
|
|
2. Type msbuild Disable_Firewall_PerInterface.
|
|
|
|
|
|
To build the sample using Visual Studio:
|
|
=======================================
|
|
1. Open Windows Explorer and navigate to the directory.
|
|
2. Double-click the icon for the .sln (solution) file to open the file in Visual Studio.
|
|
3. In the Build menu, select Build Solution.
|
|
The application will be built in the default Debug directory.
|
|
|
|
Additional Build Steps:
|
|
=======================
|
|
1. nmake
|
|
|
|
|
|
To run the sample:
|
|
=================
|
|
1. Navigate to the directory that contains the new executable, using the command prompt or Windows Explorer.
|
|
2. Type Disable_Firewall_PerInterface.exe at the command line, or double-click the icon for EnableGroup.exe to launch it from Windows Explorer.
|
|
|
|
|
|
Additional Run Steps:
|
|
=====================
|
|
1. run Disable_Firewall_PerInterface.exe
|