temu客户端程序
This commit is contained in:
commit
4aaf264e89
694 files changed
+263780
No files matched your search
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase
|
||||
{
|
||||
public class CommonPassword
|
||||
{
|
||||
private string CommonPasswordStr = "";
|
||||
private void Init()
|
||||
{
|
||||
try
|
||||
{
|
||||
string filePath = AppDomain.CurrentDomain.BaseDirectory + "temp/simplepwd.txt";
|
||||
CommonPasswordStr = FileBase.ReadAllText(filePath);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
public bool GetCommonPassword(string password)
|
||||
{
|
||||
if (string.IsNullOrEmpty(CommonPasswordStr))
|
||||
{
|
||||
Init();
|
||||
}
|
||||
List<string> PasswordList = CommonPasswordStr.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).Select(p => p.Trim()).ToList();
|
||||
bool isHas = PasswordList.Exists(p => p == password);
|
||||
return isHas;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user