DocRaptor.Client.Configuration.ToDebugReport C# (CSharp) Method

ToDebugReport() public static method

Returns a string with essential information for debugging.
public static ToDebugReport ( ) : String
return String
        public static String ToDebugReport()
        {
            String report = "C# SDK (DocRaptor) Debug Report:\n";
            report += "    OS: " + Environment.OSVersion + "\n";
            report += "    .NET Framework Version: " + Assembly
                     .GetExecutingAssembly()
                     .GetReferencedAssemblies()
                     .Where(x => x.Name == "System.Core").First().Version.ToString()  + "\n";
            report += "    Version of the API: 1.2.0\n";
            report += "    SDK Package Version: 1.1.0\n";

            return report;
        }