master
UbitUmarov 2020-03-18 17:59:35 +00:00
parent 59d3f9fa62
commit ac43124a93
1 changed files with 7 additions and 1 deletions

View File

@ -191,7 +191,13 @@ namespace OpenSim.Framework.Servers
m_log.InfoFormat( m_log.InfoFormat(
"[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n", "[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n",
Environment.OSVersion, Environment.OSVersion.Platform, Environment.Is64BitProcess ? "64" : "32"); Environment.OSVersion, Environment.OSVersion.Platform, Environment.Is64BitProcess ? "64" : "32");
// next code can be changed on .net 4.7.x
if(Util.IsWindows())
m_log.Info("[STARTUP]: Processor Architecture: " + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE", EnvironmentVariableTarget.Machine));
else
m_log.Info("[STARTUP]: Processor Architecture: " + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE")); m_log.Info("[STARTUP]: Processor Architecture: " + System.Environment.GetEnvironmentVariable("PROCESSOR_ARCHITECTURE"));
try try
{ {
StartupSpecific(); StartupSpecific();