public override string ToString() { String productName = AddinUtils.GetAssemblyProduct(); string temp = ""; // temp += "Error report from module: CadFaster|Translator for Solidworks 2010 R0 beta version 1.0.0.0\r\n"; temp += "Error report from module: " + productName + " " + Assembly.GetExecutingAssembly().GetName().Version.ToString() + "\r\n"; // toi ei varmaan toimi temp += "OS Version " + this.OSVersion + "\r\n"; temp += "Os Version number " + this.OSversionNumber + "\r\n"; temp += "Error occured at " + DateTime.Now.ToUniversalTime().ToString() + "\r\n"; temp += "Working directory " + this.WorkingDir + "\r\n"; temp += "Processor count " + this.ProcessorCount + " " + "Type " + this.ProcessorType + "\r\n"; temp += "Memory Status:\r\n"; temp += "Memory load: " + this.memStat.MemoryLoad + "%\r\n"; temp += "Total physical memory: " + this.memStat.TotalPhysical / 1000000 + "MB\r\n"; temp += "Avaible physical memory: " + this.memStat.AvailablePhysical / 1000000 + "MB\r\n"; temp += "Total pagefile: " + this.memStat.TotalPageFile / 1000000 + "MB\r\n"; temp += "Avaible pagefile: " + this.memStat.AvailablePageFile / 1000000 + "MB\r\n"; temp += "Total virtual memory: " + this.memStat.TotalVirtual / 1000000 + "MB\r\n"; temp += "Avaible virtual memory: " + this.memStat.AvailableVirtual / 1000000 + "MB\r\n"; return(temp); }