opensim/OpenSim/Framework/Util.cs
/// <summary>
/// returns the contents of /etc/issue on Unix Systems
/// Use this for where it's absolutely necessary to implement platform specific stuff
/// </summary>
/// <returns></returns>
returns the contents of /etc/issue on Unix Systems
Use this for where it's absolutely necessary to implement platform specific stuff
returns the contents of / etc / issue on Unix Systems Use this for where it ' s absolutely necessary to implement platform specific stuff
public static string ReadEtcIssue()
        {
            try
            {
                StreamReader sr = new StreamReader("/etc/issue.net");
                string issue = sr.ReadToEnd();
                sr.Close();
                return issue;
            }
            catch (Exception)
            {
                return "";
            }
        }
public static string ReadEtcIssue ( ) { try { StreamReader sr = new StreamReader ( " " ) ; string issue = sr . ReadToEnd ( ) ; sr . Close ( ) ; return issue ; } catch ( Exception ) { return " " ; } }
returns the contents of /etc/issue on Unix Systems
Use this for where it's absolutely necessary to implement platform specific stuff
returns the contents of / etc / issue on Unix Systems Use this for where it ' s absolutely necessary to implement platform specific stuff
None