Defines methods used to access the windows firewall configuration.
More...
|
static void | SetFirewallAccess (SecuredApplication application, string executablePath) |
| Configures the firewall to allow access to the specified application. More...
|
|
static void | SetFirewallAccess (string applicationName, string executablePath, IList< string > baseAddresses) |
| Configures the firewall to allow access to the specified application. More...
|
|
static bool | CheckFirewallAccess (string executablePath, IList< string > baseAddresses) |
| Checks if the firewall has been configured. More...
|
|
static int[] | GetFirewallAccess (string executablePath) |
| Returns the firewall access granted to an application. More...
|
|
static void | SetFirewallAccess (string executablePath, params int[] ports) |
| Returns the firewall access granted to an application. More...
|
|
static void | RemoveFirewallAccess (params int[] ports) |
| Removes the firewall access granted to the specified ports. More...
|
|
static void | RemoveFirewallAccess (SecuredApplication application, string executablePath) |
| Configures the firewall to remove access to the specified application. More...
|
|
static void | RemoveFirewallAccess (string executablePath, IList< string > baseAddresses) |
| Configures the firewall to remove access to the specified application. More...
|
|
Defines methods used to access the windows firewall configuration.
static bool UnifiedAutomation.UaBase.FirewallUtils.CheckFirewallAccess |
( |
string |
executablePath, |
|
|
IList< string > |
baseAddresses |
|
) |
| |
|
inlinestatic |
Checks if the firewall has been configured.
- Parameters
-
executablePath | The executable path. |
baseAddresses | The base addresses. |
- Returns
- Returns true if the application has its firewall access configured.
static int [] UnifiedAutomation.UaBase.FirewallUtils.GetFirewallAccess |
( |
string |
executablePath | ) |
|
|
inlinestatic |
Returns the firewall access granted to an application.
- Parameters
-
executablePath | The executable path. |
- Returns
- The ports configured for the executable.
static void UnifiedAutomation.UaBase.FirewallUtils.RemoveFirewallAccess |
( |
params int[] |
ports | ) |
|
|
inlinestatic |
Removes the firewall access granted to the specified ports.
- Parameters
-
static void UnifiedAutomation.UaBase.FirewallUtils.RemoveFirewallAccess |
( |
SecuredApplication |
application, |
|
|
string |
executablePath |
|
) |
| |
|
inlinestatic |
Configures the firewall to remove access to the specified application.
- Parameters
-
application | The application. |
executablePath | The executable path. |
static void UnifiedAutomation.UaBase.FirewallUtils.RemoveFirewallAccess |
( |
string |
executablePath, |
|
|
IList< string > |
baseAddresses |
|
) |
| |
|
inlinestatic |
Configures the firewall to remove access to the specified application.
- Parameters
-
executablePath | The executable path. |
baseAddresses | The base addresses. |
static void UnifiedAutomation.UaBase.FirewallUtils.SetFirewallAccess |
( |
SecuredApplication |
application, |
|
|
string |
executablePath |
|
) |
| |
|
inlinestatic |
Configures the firewall to allow access to the specified application.
- Parameters
-
application | The application. |
executablePath | The executable path. |
static void UnifiedAutomation.UaBase.FirewallUtils.SetFirewallAccess |
( |
string |
applicationName, |
|
|
string |
executablePath, |
|
|
IList< string > |
baseAddresses |
|
) |
| |
|
inlinestatic |
Configures the firewall to allow access to the specified application.
- Parameters
-
applicationName | Name of the application. |
executablePath | The executable path. |
baseAddresses | The base addresses. |
static void UnifiedAutomation.UaBase.FirewallUtils.SetFirewallAccess |
( |
string |
executablePath, |
|
|
params int[] |
ports |
|
) |
| |
|
inlinestatic |
Returns the firewall access granted to an application.
- Parameters
-
executablePath | The executable path. |
ports | The ports. |
The documentation for this class was generated from the following file:
- C:/work/uasdknet/src/UaBase/Installation/FirewallUtils.cs