public static void MarkApproved(Guid guid, string friendlyName)
{
- Trace.Write(String.Format("Marking approved {0} {1}", guid, friendlyName));
+ Debug.WriteLine(String.Format("Marking approved {0} {1}", guid, friendlyName), LogCategories.Shell);
using (RegistryKey key = Registry.LocalMachine.OpenSubKey(_approvedKey))
{
// Set the default value of the key.
}
else
{
- Trace.Write("Error - failed to open key " + _approvedKey);
+ Debug.WriteLine("Error - failed to open key " + _approvedKey,LogCategories.Shell);
}
}
}
}
else
{
- Trace.Write("Error - failed to open key " + _approvedKey);
+ Debug.WriteLine("Error - failed to open key " + _approvedKey, LogCategories.Shell);
}
}
}