سلام
string registry_key = @"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninst all";
using (Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey(r egistry_key))
{
foreach (string subkey_name in key.GetSubKeyNames())
{
using (Microsoft.Win32.RegistryKey subkey = key.OpenSubKey(subkey_name))
{
Console.WriteLine(subkey.GetValue("DisplayName") + " " + subkey.GetValue("DisplayVersion"));
}
}
}
مرجع: http://www.codeproject.com/Articles/...indows-Machine
http://stackoverflow.com/questions/9...ns-in-a-system
موفق باشی