Guest User

Untitled

a guest
Apr 19th, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. string result = null;
  2. string subkey = "Software\Microsoft\Office\" + officeVersion + "\Outlook";
  3. RegistryKey key = Registry.LocalMachine.OpenSubKey(@subkey);
  4. if (key != null)
  5. {
  6. result = (string) key.GetValue("Bitness");
  7. }
  8. return result;
Add Comment
Please, Sign In to add comment