image.png
string info = "";
RegistryKey Key = Registry.Users;
System.Security.Principal.WindowsIdentity currentUser = System.Security.Principal.WindowsIdentity.GetCurrent();
string sid = currentUser.User.ToString();
var subkey = sid + "\\Software\\NetDragon\\VRlife";
var myreg = Key.OpenSubKey(sid+ "\\Software\\NetDragon\\VRlife");
info = myreg.GetValue("VRPath").ToString();
myreg.Close();