static public long au3_PixelChecksum(int x1, int y1, int x2, int y2) { long myvalue = 0; AutoItX3 au3 = new AutoItX3(); myvalue = (long)au3.PixelChecksum(Xx + x1, Yy + y1, Xx + x2, Yy + y2); Thread.Sleep(200); return(myvalue); }