Ejemplo n.º 1
0
        public void Delete()
        {
            var bytes3 = Encoding.UTF8.GetBytes("3...");
            var bytes2 = Encoding.UTF8.GetBytes("2...");
            var bytes1 = Encoding.UTF8.GetBytes("1");

            Console.WriteLine("THIS APP WILL SELF-DESTRUCT IN...");
            Console.OpenStandardError().Write(bytes3, 0, bytes3.Length);
            Console.OpenStandardError().Write(bytes2, 0, bytes2.Length);
            Console.OpenStandardError().Write(bytes1, 0, bytes1.Length);

            eurekaService.Crash();
        }