mirror of https://github.com/dahall/Vanara.git
61 lines
12 KiB
Markdown
61 lines
12 KiB
Markdown
## Vanara.PInvoke.FirewallApi
|
|
PInvoke API (methods, structures and constants) imported from FirewallApi.dll for Windows Firewall with Advanced Security.
|
|
|
|
- Includes methods from firewallapi.dll
|
|
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.FirewallApi?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.FirewallApi?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.FirewallApi)
|
|
### Methods - 100% API coverage (11 of 11 functions)
|
|
Native Method | Header | Managed Method
|
|
--- | --- | ---
|
|
[NetworkIsolationDiagnoseConnectFailureAndGetInfo](https://www.google.com/search?num=5&q=NetworkIsolationDiagnoseConnectFailureAndGetInfo+site%3Adocs.microsoft.com) | networkisolation.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationDiagnoseConnectFailureAndGetInfo](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationDiagnoseConnectFailureAndGetInfo)
|
|
[NetworkIsolationEnumAppContainers](https://www.google.com/search?num=5&q=NetworkIsolationEnumAppContainers+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationEnumAppContainers](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationEnumAppContainers)
|
|
[NetworkIsolationEnumerateAppContainerRules](https://www.google.com/search?num=5&q=NetworkIsolationEnumerateAppContainerRules+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationEnumerateAppContainerRules](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationEnumerateAppContainerRules)
|
|
[NetworkIsolationFreeAppContainers](https://www.google.com/search?num=5&q=NetworkIsolationFreeAppContainers+site%3Adocs.microsoft.com) | networkisolation.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationFreeAppContainers](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationFreeAppContainers)
|
|
[NetworkIsolationGetAppContainerConfig](https://www.google.com/search?num=5&q=NetworkIsolationGetAppContainerConfig+site%3Adocs.microsoft.com) | networkisolation.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationGetAppContainerConfig](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationGetAppContainerConfig)
|
|
[NetworkIsolationGetEnterpriseIdAsync](https://www.google.com/search?num=5&q=NetworkIsolationGetEnterpriseIdAsync+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationGetEnterpriseIdAsync](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationGetEnterpriseIdAsync)
|
|
[NetworkIsolationGetEnterpriseIdClose](https://www.google.com/search?num=5&q=NetworkIsolationGetEnterpriseIdClose+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationGetEnterpriseIdClose](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationGetEnterpriseIdClose)
|
|
[NetworkIsolationRegisterForAppContainerChanges](https://www.google.com/search?num=5&q=NetworkIsolationRegisterForAppContainerChanges+site%3Adocs.microsoft.com) | networkisolation.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationRegisterForAppContainerChanges](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationRegisterForAppContainerChanges)
|
|
[NetworkIsolationSetAppContainerConfig](https://www.google.com/search?num=5&q=NetworkIsolationSetAppContainerConfig+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationSetAppContainerConfig](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationSetAppContainerConfig)
|
|
[NetworkIsolationSetupAppContainerBinaries](https://www.google.com/search?num=5&q=NetworkIsolationSetupAppContainerBinaries+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationSetupAppContainerBinaries](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationSetupAppContainerBinaries)
|
|
[NetworkIsolationUnregisterForAppContainerChanges](https://www.google.com/search?num=5&q=NetworkIsolationUnregisterForAppContainerChanges+site%3Adocs.microsoft.com) | networkisolation.h | [Vanara.PInvoke.FirewallApi.NetworkIsolationUnregisterForAppContainerChanges](https://github.com/dahall/Vanara/search?l=C%23&q=NetworkIsolationUnregisterForAppContainerChanges)
|
|
### Structures
|
|
Native Structure | Header | Managed Structure
|
|
--- | --- | ---
|
|
[INET_FIREWALL_AC_BINARIES](https://www.google.com/search?num=5&q=INET_FIREWALL_AC_BINARIES+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INET_FIREWALL_AC_BINARIES](https://github.com/dahall/Vanara/search?l=C%23&q=INET_FIREWALL_AC_BINARIES)
|
|
[INET_FIREWALL_AC_CAPABILITIES](https://www.google.com/search?num=5&q=INET_FIREWALL_AC_CAPABILITIES+site%3Adocs.microsoft.com) | networkisolation.h | [Vanara.PInvoke.FirewallApi.INET_FIREWALL_AC_CAPABILITIES](https://github.com/dahall/Vanara/search?l=C%23&q=INET_FIREWALL_AC_CAPABILITIES)
|
|
[INET_FIREWALL_AC_CHANGE](https://www.google.com/search?num=5&q=INET_FIREWALL_AC_CHANGE+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INET_FIREWALL_AC_CHANGE](https://github.com/dahall/Vanara/search?l=C%23&q=INET_FIREWALL_AC_CHANGE)
|
|
[INET_FIREWALL_APP_CONTAINER](https://www.google.com/search?num=5&q=INET_FIREWALL_APP_CONTAINER+site%3Adocs.microsoft.com) | networkisolation.h | [Vanara.PInvoke.FirewallApi.INET_FIREWALL_APP_CONTAINER](https://github.com/dahall/Vanara/search?l=C%23&q=INET_FIREWALL_APP_CONTAINER)
|
|
[UNIONType](https://www.google.com/search?num=5&q=UNIONType+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.FirewallApi.INET_FIREWALL_AC_CHANGE.UNIONType](https://github.com/dahall/Vanara/search?l=C%23&q=UNIONType)
|
|
### Interfaces
|
|
Native Interface | Header | Managed Interface
|
|
--- | --- | ---
|
|
[INetFwAuthorizedApplication](https://www.google.com/search?num=5&q=INetFwAuthorizedApplication+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.FirewallApi.INetFwAuthorizedApplication](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwAuthorizedApplication)
|
|
[INetFwAuthorizedApplications](https://www.google.com/search?num=5&q=INetFwAuthorizedApplications+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.FirewallApi.INetFwAuthorizedApplications](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwAuthorizedApplications)
|
|
[INetFwIcmpSettings](https://www.google.com/search?num=5&q=INetFwIcmpSettings+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwIcmpSettings](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwIcmpSettings)
|
|
[INetFwMgr](https://www.google.com/search?num=5&q=INetFwMgr+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwMgr](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwMgr)
|
|
[INetFwOpenPort](https://www.google.com/search?num=5&q=INetFwOpenPort+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwOpenPort](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwOpenPort)
|
|
[INetFwOpenPorts](https://www.google.com/search?num=5&q=INetFwOpenPorts+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwOpenPorts](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwOpenPorts)
|
|
[INetFwPolicy](https://www.google.com/search?num=5&q=INetFwPolicy+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwPolicy](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwPolicy)
|
|
[INetFwPolicy2](https://www.google.com/search?num=5&q=INetFwPolicy2+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwPolicy2](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwPolicy2)
|
|
[INetFwProduct](https://www.google.com/search?num=5&q=INetFwProduct+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.FirewallApi.INetFwProduct](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwProduct)
|
|
[INetFwProducts](https://www.google.com/search?num=5&q=INetFwProducts+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.FirewallApi.INetFwProducts](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwProducts)
|
|
[INetFwProfile](https://www.google.com/search?num=5&q=INetFwProfile+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwProfile](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwProfile)
|
|
[INetFwRemoteAdminSettings](https://www.google.com/search?num=5&q=INetFwRemoteAdminSettings+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwRemoteAdminSettings](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwRemoteAdminSettings)
|
|
[INetFwRule](https://www.google.com/search?num=5&q=INetFwRule+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwRule](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwRule)
|
|
[INetFwRule2](https://www.google.com/search?num=5&q=INetFwRule2+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwRule2](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwRule2)
|
|
[INetFwRule3](https://www.google.com/search?num=5&q=INetFwRule3+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwRule3](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwRule3)
|
|
[INetFwRules](https://www.google.com/search?num=5&q=INetFwRules+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwRules](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwRules)
|
|
[INetFwService](https://www.google.com/search?num=5&q=INetFwService+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwService](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwService)
|
|
[INetFwServiceRestriction](https://www.google.com/search?num=5&q=INetFwServiceRestriction+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwServiceRestriction](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwServiceRestriction)
|
|
[INetFwServices](https://www.google.com/search?num=5&q=INetFwServices+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.INetFwServices](https://github.com/dahall/Vanara/search?l=C%23&q=INetFwServices)
|
|
### Classes
|
|
Native Class | Header | Managed Class
|
|
--- | --- | ---
|
|
[FirewallApi](https://www.google.com/search?num=5&q=FirewallApi+site%3Adocs.microsoft.com) | | [Vanara.PInvoke.FirewallApi](https://github.com/dahall/Vanara/search?l=C%23&q=FirewallApi)
|
|
[NetFwAuthorizedApplication](https://www.google.com/search?num=5&q=NetFwAuthorizedApplication+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetFwAuthorizedApplication](https://github.com/dahall/Vanara/search?l=C%23&q=NetFwAuthorizedApplication)
|
|
[NetFwMgr](https://www.google.com/search?num=5&q=NetFwMgr+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetFwMgr](https://github.com/dahall/Vanara/search?l=C%23&q=NetFwMgr)
|
|
[NetFwOpenPort](https://www.google.com/search?num=5&q=NetFwOpenPort+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetFwOpenPort](https://github.com/dahall/Vanara/search?l=C%23&q=NetFwOpenPort)
|
|
[NetFwPolicy2](https://www.google.com/search?num=5&q=NetFwPolicy2+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetFwPolicy2](https://github.com/dahall/Vanara/search?l=C%23&q=NetFwPolicy2)
|
|
[NetFwProduct](https://www.google.com/search?num=5&q=NetFwProduct+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetFwProduct](https://github.com/dahall/Vanara/search?l=C%23&q=NetFwProduct)
|
|
[NetFwProducts](https://www.google.com/search?num=5&q=NetFwProducts+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetFwProducts](https://github.com/dahall/Vanara/search?l=C%23&q=NetFwProducts)
|
|
[NetFwRule](https://www.google.com/search?num=5&q=NetFwRule+site%3Adocs.microsoft.com) | netfw.h | [Vanara.PInvoke.FirewallApi.NetFwRule](https://github.com/dahall/Vanara/search?l=C%23&q=NetFwRule)
|