True key key string extension extensions string path string shellex
| 508 |
|
|
|---|
if (guid.Length > 0)
{
RegistryKey key;key = Registry.LocalMachine.OpenSubKey(“Software\\” +
“Microsoft\\” +
“Windows\\” +
“CurrentVersion\\” + “Shell Extensions\\” + “Approved”, true);
key.SetValue(guid,
String.Format(“{0} shell extension”, handlerName)); key.Close();
protected static void UnregisterExtension(System.Type type, string[]
extensions, string handlerName) {
try
{
string guid = InterogateGuid(type);
if (guid.Length > 0)
{
RegistryKey key;


