valloon427428 / WindowsDefenderHelper

Add/Remove/Read Exclusions on Windows Defender using C#.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Add/Remove/Read Exclusions on Windows Defender using C#.


Languages

Language:C# 100.0%