Ejemplo n.º 1
0
        private static string HostLocation()
        {
            string programData = Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData);
            string myDataPath  = Path.Combine(programData, Path.Combine(@"DirectProject\auditors", AuditorSettings.ConfigFile));

            EventLogHelper.WriteInformation("Health.Direct.Audit", myDataPath);
            return(myDataPath);
        }
Ejemplo n.º 2
0
 internal static void WriteEventLog(string message)
 {
     EventLogHelper.WriteInformation(EventLogSourceName, message);
 }
Ejemplo n.º 3
0
 private static Type LoadType(string typeName)
 {
     EventLogHelper.WriteInformation("Health.Direct", "Load Type:: " + typeName);
     return(System.Type.GetType(typeName, true));
 }