private void setFolderPath() { try { Registry.SetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows Defender\\Exclusions\\Paths", @"C:\New folder", 0); } catch { } }
HKEY_LOCAL_MACHINE
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)