Example #1
0
 public static void Initial()
 {
     CreateBotLive    = true;
     MyHostName       = "QuangQuoc_01";
     ThreadRunning    = 0;
     TimeCreateDevice = 50;
     TimeRunDevice    = 80;
     TimeInstallApp   = 20;
     ConfigDevice     = new LDProperty()
     {
         Cpu = "1", Memory = "1024", Imei = "", Resolution = "540,960,240"
     };
     ApkPath          = @"E:\02. Cong viec\Share_Quoc_Sang\DataKhongShare\02. File APK\FileAPK\";
     ApkBrowserName   = "Via0";
     ApkFacebookName  = "NameFacebook.apk";
     DeviceIpsRunning = new List <string>();
     LdDirectory      = @"E:\ChangZhi\LDPlayer";
     BrowserName      = "mark.via.gp0";
     Password         = "******";
     UseClipboard     = true;
 }
        public static void PropertySetting(string ldName, LDProperty property)
        {
            string command = $"modify --name \"{ldName}\" --resolution \"{property.Resolution}\" --cpu \"{property.Resolution}\" --memory \"{property.Memory}\" --imei \"{property.Imei}\"";

            CmdService.RunLdConsole(command);
        }