private static string GetDescription(Guid server)
{
string clsidKey = String.Format(@"CLSID\{{{0}}}", server.ToString().ToUpper());
RegistryKey key = Registry.ClassesRoot.OpenSubKey(clsidKey);
if (key != null)
{
try
{
return key.GetValue(null) as string;
}
finally
{
key.Close();
}
}
return String.Empty;
}