Skip to content

Commit 7d547c9

Browse files
committed
Minor cleanup and bugfix
1 parent e9731c4 commit 7d547c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WindowsFirewallHelper/FirewallProduct.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class FirewallProduct
1111
{
1212
public FirewallProduct(string name)
1313
{
14-
if (IsSupported)
14+
if (!IsSupported)
1515
{
1616
throw new NotSupportedException();
1717
}
@@ -79,7 +79,7 @@ public string SignedExecutableFilename
7979
/// <summary>
8080
/// Returns the list of all registered third party firewalls management instances
8181
/// </summary>
82-
public static ICollection<FirewallProduct> ThirdPartyFirewalls
82+
public static ICollection<FirewallProduct> RegisteredProducts
8383
{
8484
get => new FirewallProductsCollection(GetProducts());
8585
}

0 commit comments

Comments
 (0)