static void AppendDotNetCoreRuntimeVersions(StringBuilder description)
 {
     DotNetCoreSystemInformation.AppendVersions(
         description,
         DotNetCoreRuntime.Versions,
         version => GettextCatalog.GetString("Runtime Version: {0}", version),
         () => GettextCatalog.GetString("Runtime Versions:"));
 }
        static string GetDotNetRuntimeLocation()
        {
            if (DotNetCoreRuntime.IsInstalled)
            {
                return(DotNetCoreRuntime.FileName);
            }

            return(DotNetCoreSystemInformation.GetNotInstalledString());
        }