Ejemplo n.º 1
0
 public static void WriteEvent(string source, EventInstance instance, byte[] data, params Object[] values) {
     using (EventLogInternal log = new EventLogInternal("", ".", CheckAndNormalizeSourceName(source))) {
         log.WriteEvent(instance, data, values);
     }
 }
 public static void WriteEvent(string source, EventInstance instance, params object[] values)
 {
     using (EventLogInternal internal2 = new EventLogInternal("", ".", CheckAndNormalizeSourceName(source)))
     {
         internal2.WriteEvent(instance, null, values);
     }
 }