TeamTalk 5 Java DLL: BearWare.WindowsFirewall Class Reference

TeamTalk 5 Java DLL Version 5.18A

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
BearWare.WindowsFirewall Class Reference
Windows Firewall

A wrapper for the Windows Firewall API. More...

## Static Public Member Functions

static bool | IsEnabled ()
| Check if the Windows Firewall is currently enabled.
static bool | Enable (bool bEnable)
| Enable/disable the Windows Firewall.
static bool | AppExceptionExists (string szExecutable)
| Check if an executable is already in the Windows Firewall exception list.
static bool | AddAppException (string szName, string szExecutable)
| Add an application to the Windows Firewall exception list.
static bool | RemoveAppException (string szExecutable)
| Remove an application from the Windows Firewall exception list.

## Detailed Description

A wrapper for the Windows Firewall API.

Definition at line 9088 of file TeamTalk.cs.

## Member Function Documentation

## ◆ IsEnabled()

static bool BearWare.WindowsFirewall.IsEnabled | ( |  | ) |

static

Check if the Windows Firewall is currently enabled.

This function does not invoke UAC on Windows Vista/7.

See also
  WindowsFirewall.Enable()

Definition at line 9095 of file TeamTalk.cs.

## ◆ Enable()

static bool BearWare.WindowsFirewall.Enable | ( | bool | bEnable | ) |

static

Enable/disable the Windows Firewall.

The Windows Firewall was introduced in Windows XP SP2.

On Windows XP (SP2+) the user calling this function is assumed to have administrator rights. On Windows Vista/7 UAC is invoked to ask the user for administrator rights.

See also
  WindowsFirewall.IsEnabled()

Definition at line 9108 of file TeamTalk.cs.

## ◆ AppExceptionExists()

static bool BearWare.WindowsFirewall.AppExceptionExists | ( | string | szExecutable | ) |

static

Check if an executable is already in the Windows Firewall exception list.

This function does not invoke UAC on Windows Vista/7.

See also
  WindowsFirewall.AddAppException()

Definition at line 9118 of file TeamTalk.cs.

## ◆ AddAppException()

static bool BearWare.WindowsFirewall.AddAppException | ( | string | szName,
|  | string | szExecutable )

static

Add an application to the Windows Firewall exception list.

On Windows XP (SP2+) the user calling this function is assumed to have administrator rights. On Windows Vista/7 UAC is invoked to ask the user for administrator rights.

See also
  WindowsFirewall.AppExceptionExists()
  WindowsFirewall.RemoveAppException()

Definition at line 9131 of file TeamTalk.cs.

## ◆ RemoveAppException()

static bool BearWare.WindowsFirewall.RemoveAppException | ( | string | szExecutable | ) |

static

Remove an application from the Windows Firewall exception list.

On Windows XP (SP2+) the user calling this function is assumed to have administrator rights. On Windows Vista/7 UAC is invoked to ask the user for administrator rights.

See also
  WindowsFirewall.AppExceptionExists()
  WindowsFirewall.AddAppException()

Definition at line 9144 of file TeamTalk.cs.