internal void WriteFileType(System.IO.StreamWriter aOutput)
        {
            int type = 0; //default type 0

            if (iReportType != string.Empty)
            {
                type = 1; //for reports, type 1
            }
            CCrashInfoFileUtilities.WriteOutputTags(type, CrashInfoConsts.Kfile_type, aOutput);
        }
 internal void WriteCrashSource(System.IO.StreamWriter aOutput)
 {
     if (iCrashSource == 1)
     {
         CCrashInfoFileUtilities.WriteOutputTags(CrashInfoConsts.Kcrash_source_user, CrashInfoConsts.Kcrash_source, aOutput);
     }
     else if (iCrashSource == 0)
     {
         CCrashInfoFileUtilities.WriteOutputTags(CrashInfoConsts.Kcrash_source_kernel, CrashInfoConsts.Kcrash_source, aOutput);
     }
 }
 internal void WriteProductionMode(System.IO.StreamWriter aOutput)
 {
     if (iProductionMode == 1)
     {
         CCrashInfoFileUtilities.WriteOutputTags(CrashInfoConsts.Kproduction_mode_value, CrashInfoConsts.Kproduction_mode, aOutput);
     }
     else if (iProductionMode == 0)
     {
         CCrashInfoFileUtilities.WriteOutputTags(CrashInfoConsts.Krnd_mode_value, CrashInfoConsts.Kproduction_mode, aOutput);
     }
 }
        internal void WriteSymbolFileNames(System.IO.StreamWriter aOutput)
        {
            string symbolfilenames = string.Empty;

            foreach (string fileName in iSymbolFiles)
            {
                if (symbolfilenames != string.Empty)
                {
                    symbolfilenames = symbolfilenames + ", ";
                }
                symbolfilenames = symbolfilenames + Path.GetFileName(fileName);
            }
            CCrashInfoFileUtilities.WriteOutputTags(symbolfilenames, CrashInfoConsts.Ksymbolfile_names, aOutput);
        }
        internal void WriteMiscInfo(System.IO.StreamWriter aOutput)
        {
            //Dummy value needs to be written for dbmover
            string mInfo = "NotFound";

            if (iFileType == CrashInfoConsts.MobileCrashFileType.ETypeRegistrationMessage)
            {
                mInfo = CrashInfoConsts.KRegistrationMiscInfo;
            }
            if (iFileType == CrashInfoConsts.MobileCrashFileType.ETypeAliveMessage)
            {
                mInfo = CrashInfoConsts.KAliveTimeMiscInfo;
            }

            CCrashInfoFileUtilities.WriteOutputTags(mInfo, CrashInfoConsts.Kmisc_info, aOutput);
        }
 internal void WriteVariantVersion(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iVariantVersion, CrashInfoConsts.Kvariant_version, aOutput);
 }
 internal void WriteProductCode(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iProductCode, CrashInfoConsts.Kproduct_code, aOutput);
 }
 internal void WriteS60Version(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iS60Version, CrashInfoConsts.Ks60version, aOutput);
 }
 //Serial number known also as PSN
 internal void WriteSerialNumber(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iSerialNumber, CrashInfoConsts.Kpsninfo, aOutput);
 }
 internal void WriteModuleName(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iCrashedModuleName, CrashInfoConsts.Kcrashed_module_name, aOutput);
 }
 internal void WriteArchive(System.IO.StreamWriter aOutput)
 {
     //Dummy value needs to be written for dbmover
     CCrashInfoFileUtilities.WriteOutputTags("0", CrashInfoConsts.Karchive, aOutput);
 }
 internal void WriteDiskInfo(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iDiskInfo.ToString(), CrashInfoConsts.Kdiskinfo, aOutput);
 }
 internal void WriteReportCategory(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iReportCategory, CrashInfoConsts.Kreport_category, aOutput);
 }
 internal void WriteNetworkCountry(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iNetworkCountry, CrashInfoConsts.Knetwork_country_code, aOutput);
 }
 internal void WriteIMSI(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iImsi, CrashInfoConsts.Ksiminfo, aOutput);
 }
 internal void WriteUptime(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iUptime.ToString(), CrashInfoConsts.Kuptime, aOutput);
 }
 internal void WriteImei(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iImei, CrashInfoConsts.Kimei, aOutput);
 }
 internal void WriteAvailableMemory(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iFreeMomery, CrashInfoConsts.Kavailable_memory, aOutput);
 }
 internal void WriteUserComment(System.IO.StreamWriter aOutput)
 {
     //Dummy value needs to be written for dbmover
     CCrashInfoFileUtilities.WriteOutputTags("NotFound", CrashInfoConsts.Kuser_comment, aOutput);
 }
 internal void WriteMMCInfo(System.IO.StreamWriter aOutput)
 {
     //Dummy value needs to be written for dbmover
     CCrashInfoFileUtilities.WriteOutputTags("", CrashInfoConsts.Kmmcinfo, aOutput);
 }
 internal void WriteUID(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iUID, CrashInfoConsts.Kuid, aOutput);
 }
 internal void WriteReportParam3(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iReportParamName3, CrashInfoConsts.Kreport_param_name3, aOutput);
     CCrashInfoFileUtilities.WriteOutputTags(iReportParamValue3, CrashInfoConsts.Kreport_param_value3, aOutput);
 }
 internal void WriteNetworkIdentity(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iNetworkIdentity, CrashInfoConsts.Knetwork_identity, aOutput);
 }
 internal void WriteBinFileName(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iBinFilename, CrashInfoConsts.Kbinfile_name, aOutput);
 }
 internal void WriteReportFail(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iReportFail, CrashInfoConsts.Kreport_fail, aOutput);
 }
 internal void WriteLocInfo(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iLocInfo, CrashInfoConsts.Klocinfo, aOutput);
 }
 internal void WriteReportComments(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iReportComments, CrashInfoConsts.Kreport_comments, aOutput);
 }
 internal void WriteNetworkCell(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iNetworkCell, CrashInfoConsts.Kcellid, aOutput);
 }
 internal void WriteTestset(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iTestSet, CrashInfoConsts.Ktestset, aOutput);
 }
 internal void WritePanicedProcess(System.IO.StreamWriter aOutput)
 {
     CCrashInfoFileUtilities.WriteOutputTags(iProcess, CrashInfoConsts.Kpanicked_process, aOutput);
 }