Facebook
From Black, 3 Years ago, written in C#.
Embed
Download Paste or View Raw
Hits: 59
  1. string DuongDan1 = "Data//Listtukhoa.txt";
  2.                         int DemDong1 = File.ReadAllLines(DuongDan1).Length;
  3.                         Random NgauNhien1 = new Random();
  4.                         var Doc1Dong = NgauNhien1.Next(1, DemDong1);
  5.                         var Chon1Dong = System.IO.File.ReadLines(DuongDan1).Skip(Doc1Dong - 1).First();
  6.                         string Dongduocchon = Chon1Dong.ToString();
  7.  
  8.  
  9.                         KAutoHelper.ADBHelper.InputText(deviceID, Dongduocchon);
  10.  
  11.  
  12.                         Delay(1);