I don't want the namespace Microsoft.Win32 to be in clear text in the code, so I want to store the namespace as base64 encoded in a string that will be equal to a function that decodes it. Example:
byte[] data = Convert.FromBase64String("TWljcm9zb2Z0LldpbjMy");
string Decoded_Namespace = Encoding.UTF8.GetString(data); // equal to Microsoft.Win32
Then I want to access the RegistryKey class which the namespace Microsoft.Win32 will be required.
Decoded_Namespace.RegistryKey instead of Microsoft.Win32.RegistryKey