WindowsFire.zip
//创建防火墙策略类的实例 INetFwPolicy2 policy2 = (INetFwPolicy2)Activator.CreateInstance(Type.GetTypeFromProgID("HNetCfg.FwPolicy2")); foreach (INetFwRule item in policy2.Rules) { //存在相同名称和端口的时候返回 if (item.Name == name&&item.LocalPorts.Tr
文件列表
WindowsFire.zip
(预估有个27文件)
WindowsFire
bin
Release
Debug
WindowsFirewall.exe.config
161B
WindowsFirewall.exe
13KB
WindowsFirewall.pdb
28KB
Form1.Designer.cs
4KB
Program.cs
472B
WindowsFirewall.csproj
4KB
暂无评论