You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foreach (FirewallWASRuleWin8 rule in FirewallManager.Instance.Rules)
{
// Delete old rule by rule Name (we don't have GUID in FW rule)
if (rule.Grouping == $"_{App.ApplicationName}")
{
if (rule is not null)
{
FirewallManager.Instance.Rules.Remove(rule);
}
}
}
The result of code working is good, but when I run Visual Studio Community 2022, I see the errors in Debug:
Exception thrown: 'System.Runtime.InteropServices.COMException' in WindowsFirewallHelper.dll
Exception thrown: 'System.NotSupportedException' in WindowsFirewallHelper.dll
I've thought it was the problem with the deleting FW rule, but the errors are shown even before condition. Should I ignore them?
Windows 10 Pro x64 (19045.5247)
The text was updated successfully, but these errors were encountered:
I have some code:
The result of code working is good, but when I run Visual Studio Community 2022, I see the errors in Debug:
I've thought it was the problem with the deleting FW rule, but the errors are shown even before condition. Should I ignore them?
Windows 10 Pro x64 (19045.5247)
The text was updated successfully, but these errors were encountered: