OpenSim/Framework/Util.cs
/// <summary>
/// Get operating system information if available.  Returns only the first 45 characters of information
/// </summary>
/// <returns>
/// Operating system information.  Returns an empty string if none was available.
/// </returns>
Get operating system information if available.  Returns only the first 45 characters of information
Get operating system information if available . Returns only the first 45 characters of information
public static string GetOperatingSystemInformation()
        {
            string os = String.Empty;
            if (Environment.OSVersion.Platform != PlatformID.Unix)
            {
                os = Environment.OSVersion.ToString();
            }
            else
            {
                os = ReadEtcIssue();
            }
            if (os.Length > 45)
            {
                os = os.Substring(0, 45);
            }
            return os;
        }
public static string GetOperatingSystemInformation ( ) { string os = String . Empty ; if ( Environment . OSVersion . Platform != PlatformID . Unix ) { os = Environment . OSVersion . ToString ( ) ; } else { os = ReadEtcIssue ( ) ; } if ( os . Length > 45 ) { os = os . Substring ( 0 , 45 ) ; } return os ; }
Get operating system information if available.
Get operating system information if available .
Operating system information.  Returns an empty string if none was available.
Operating system information . Returns an empty string if none was available .