Skip to content

Instantly share code, notes, and snippets.

@GarthJL1965
GarthJL1965 / FirewallHelper.cs
Created March 23, 2021 06:50 — forked from cstrahan/FirewallHelper.cs
C# Firewall helper
///
/// Allows basic access to the windows firewall API.
/// This can be used to add an exception to the windows firewall
/// exceptions list, so that our programs can continue to run merrily
/// even when nasty windows firewall is running.
///
/// Please note: It is not enforced here, but it might be a good idea
/// to actually prompt the user before messing with their firewall settings,
/// just as a matter of politeness.
///