Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 602 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 602 Bytes

WindowsDefenderHelper

Add/remove/read exclusions on Windows Defender using C#. This requires Administrator Privilege.

How to use

WindowsDefenderHelper class provides all features to add/remove/read exclusions on Windows Defender. It calls PowerShell internally.

Functions:

  • IsUserAdministrator()
  • GetExclusionPath()
  • GetExclusionProcess()
  • GetExclusionExtension()
  • AddExclusionPath(string value)
  • AddExclusionProcess(string value)
  • AddExclusionExtension(string value)
  • RemoveExclusionPath(string value)
  • RemoveExclusionProcess(string value)
  • RemoveExclusionExtension(string value)