i am using this to get the program names, but i need the exe names. How do i find them?
string SoftwareKey = \"SOFTWARE\\\\Microsoft\\\\Windows\\\\CurrentVer
Lacking a clarification on the particulars, you can get the .exe's on local drives as such:
var allExePaths =
from drive in Environment.GetLogicalDrives()
from exePath in Directory.GetFiles(drive, "*.exe", SearchOption.AllDirectories)
select exePath;
If you're looking for a particular one, please provide more details about what things will determine the one you're looking for. Using the registry to list installed programs doesn't seem to be what you want to do, so please be more specific.