private void button1_Click(object sender, EventArgs e) { DeactivateSendTo(); } public void DeactivateSendTo() { string root = "AllFilesystemObjects\\shellex\\ContextMenuHandlers\\Send To"; RegistryKey rKey = Microsoft.Win32.Registry.ClassesRoot.OpenSubKey(root, true); rKey.SetValue("", ""); rKey.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)