Beispiel #1
0
 public override void Editar()
 {
     LogIBPT log = new LogIBPT(GUID);
     log.Caminho = @"C:\Teste\teste2.txt";
     log.Save();
     DumpElement(log);
 }
Beispiel #2
0
 public override void Gravar()
 {
     LogIBPT log = new LogIBPT();
     log.Caminho = @"C:\Teste\teste.txt";
     log.MD5 = "12345678912345678912345688";
     log.NomeMaquina = System.Environment.MachineName;
     log.IP = "192.168.0.1";// Dns.GetHostEntry(Dns.GetHostName()).AddressList[0].ToString();
     log.TipoEvento = Enuns.TipoEvento.Create;
     log.Evento = "Teste das classes";
     log.Descricao = "Teste das classes";
     log.DataHoraEvento = System.DateTime.Today;
     GUID = log.Save();
 }