Well I'm trying to create a registry reader and this is what I have so far:
that however doesn't do anything, I'm just trying to read the company name form VMware Workstation, can anyone explain to me why my code doesn't work and how can I fix it? ThanksCode:RegistryKey regkey = Registry.CurrentUser.OpenSubKey("Software\\Wow6432Nod\\VMware, Inc.\\VMware Workstation\\License.ws.6.0.200907"); if (regkey.GetValue("CompanyName") != null) { string showIt = regkey.GetValue("CompanyName").ToString(); MessageBox.Show(showIt); }




Reply With Quote