Exemplo n.º 1
0
        private static void Processor_TriggerProcessingFinished(object sender, Core.Events.TriggerProcessedEventArgs e)
        {
            //System.Console.WriteLine($"TRIGGER FINISHED: {e.Watcher.Name}");
            //var path = System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().CodeBase);

            //System.IO.File.WriteAllBytes(path + $"\\{DateTime.Now.Month}-{DateTime.Now.Day}-{DateTime.Now.Year}_{DateTime.Now.Hour}:{DateTime.Now.Minute}:{DateTime.Now.Second}.wav", e.Watcher.GetBuffer());
        }
Exemplo n.º 2
0
 private static void Processor_TriggerProcessingStarted(object sender, Core.Events.TriggerProcessedEventArgs e)
 {
     //System.Console.WriteLine($"TRIGGER STARTED: {e.Watcher.Name}");
 }