Skip to content

Commit

Permalink
Minor cleanup and bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
falahati committed Feb 9, 2019
1 parent e9731c4 commit 7d547c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WindowsFirewallHelper/FirewallProduct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class FirewallProduct
{
public FirewallProduct(string name)
{
if (IsSupported)
if (!IsSupported)
{
throw new NotSupportedException();
}
Expand Down Expand Up @@ -79,7 +79,7 @@ public string SignedExecutableFilename
/// <summary>
/// Returns the list of all registered third party firewalls management instances
/// </summary>
public static ICollection<FirewallProduct> ThirdPartyFirewalls
public static ICollection<FirewallProduct> RegisteredProducts
{
get => new FirewallProductsCollection(GetProducts());
}
Expand Down

0 comments on commit 7d547c9

Please sign in to comment.