예제 #1
0
        public static string GetGtaInstallPathFromRegistry()
        {
            var regKey = new ApplicationUninstallRegistryKey("Grand Theft Auto V");

            if (regKey.IsPresent)
            {
                return(regKey.InstallLocation);
            }
            return(null);
        }
예제 #2
0
 public static string GetGtaInstallPathFromRegistry()
 {
     var regKey = new ApplicationUninstallRegistryKey("Grand Theft Auto V");
     if (regKey.IsPresent)
     {
         return regKey.InstallLocation;
     }
     return null;
 }