private static void LogHeader() { writer_.WriteLine("************* Start Display Current Environment *************"); writer_.WriteLine("Process Name :- " + processName); writer_.WriteLine("Process Id :- " + processId); writer_.WriteLine("Machine Name :- " + Environment.MachineName); writer_.WriteLine("OS Version :- " + Environment.OSVersion); writer_.WriteLine(".NET Version :- " + Environment.Version); writer_.WriteLine("Product Long Name :- WebSphere MQ for Windows"); writer_.WriteLine("Version :- " + CommonServices.GetVRMF()); writer_.WriteLine("Installation Path :- " + CommonServices.GetInstallationPath()); writer_.WriteLine("Installation Name :- " + CommonServices.GetInstallationName()); writer_.WriteLine("Date/Time :- " + DateTime.Now.ToString("F")); writer_.WriteLine("Date/Time(UTC) :- " + DateTime.UtcNow.ToString("F")); writer_.WriteLine(); writer_.WriteLine(); writer_.WriteLine("TimeStamp PID.TID Data"); writer_.WriteLine(new string('=', 100)); writer_.WriteLine(); }