Files
kami_itunes_june/AppleBatch_June/FromRealName.cs
2024-07-22 00:43:14 +08:00

1172 lines
42 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using System.Web;
using System.Windows.Forms;
using AppleBatch_June.Model;
using AppleBatch_June.Utils;
using DotNet.Utilities;
namespace AppleBatch_June
{
public class FromRealName : BaseForm
{
private readonly object lokcObj = new object();
private readonly object lokcRepertoryObj = new object();
private readonly object lokcAppleIdObj = new object();
private IContainer components;
private RichTextBox txtLog;
private Label labRealNameDianShu;
private Label label31;
private Label label5;
private CheckBox ckRealNameVpn;
private TabControl tabControl1;
private TabPage tabPage1;
private GroupBox groupBox2;
private RichTextBox richTextBox1;
private GroupBox groupBox1;
private Label label4;
private TextBox txtRealNameNationalId;
private Label label3;
private TextBox txtRealName;
private Label label2;
private TextBox txtRealNamePhone;
private TabPage tabPage2;
private TextBox textBox1;
private Label label6;
private GroupBox groupBox4;
private RichTextBox txtAppleId;
private GroupBox groupBox5;
private Button button2;
private Button button3;
private Button btnStartRealName;
private Label label1;
private Button button1;
private ContextMenuStrip contextMenuStrip2;
private ToolStripMenuItem ToolStripMenuItem1;
private ContextMenuStrip contextMenuStrip1;
private ToolStripMenuItem ToolStripMenuItem;
private TabControl tabControl2;
private TabPage tabPage3;
private TabPage tabPage4;
private TabPage tabPage5;
private GroupBox groupBox6;
private RichTextBox txtDataRepertory;
private RichTextBox richTextBox5;
private GroupBox groupBox3;
private RichTextBox txtIdRepertory;
private RichTextBox richTextBox2;
private Label label7;
private ListView lvLogList;
private ColumnHeader columnHeader1;
private ColumnHeader columnHeader2;
private ColumnHeader columnHeader3;
private ColumnHeader columnHeader4;
private ColumnHeader columnHeader5;
private Button btnEmptyLogList;
private Button btnExportLogList;
public FromRealName()
: base("实名认证", null)
{
InitializeComponent();
}
private void FromRealName_Load(object sender, EventArgs e)
{
txtRealNamePhone.Text = ConfigUtlis.getConfigValue("txtRealNamePhone");
txtRealName.Text = ConfigUtlis.getConfigValue("txtRealName");
txtRealNameNationalId.Text = ConfigUtlis.getConfigValue("txtRealNameNationalId");
txtDataRepertory.Text = Tools.ToUrlDecode(ConfigUtlis.getConfigValue("txtDataRepertory")).TrimStart('\n').TrimEnd('\n');
lvLogList.ColumnClick += lv_ColumnClick;
Button button = btnEmptyLogList;
btnExportLogList.Visible = false;
button.Visible = false;
labRealNameDianShu.Text = AppSysConfig.getTypeById(13).consNum.ToString();
ckRealNameVpn.Checked = ((ConfigUtlis.getConfigValue("ckRealNameVpn") == "True") ? true : false);
BindMenuPaste(txtIdRepertory);
BindMenuPaste(txtDataRepertory);
}
private void lv_ColumnClick(object sender, ColumnClickEventArgs e)
{
if (lvLogList.Tag == null)
{
lvLogList.Tag = "1";
}
if (lvLogList.Tag.ToString() == "1")
{
lvLogList.ListViewItemSorter = new ListViewItemComparer(e.Column, 1);
lvLogList.Tag = "0";
}
else
{
lvLogList.ListViewItemSorter = new ListViewItemComparer(e.Column, 0);
lvLogList.Tag = "1";
}
lvLogList.Sort();
}
private string[] getRepertoryDataOnline()
{
try
{
lock (lokcRepertoryObj)
{
return (string[])Invoke((Func<string[]>)delegate
{
string[] array = txtDataRepertory.Text.Split('\n');
int num = 0;
string text;
while (true)
{
if (num >= array.Length)
{
return new string[0];
}
text = array[num];
if ((from c in text.Replace('\r', '-').Replace('\t', '-').Split('-')
where !string.IsNullOrEmpty(c.Trim())
select c).Count() >= 3)
{
break;
}
num++;
}
txtDataRepertory.Text = txtDataRepertory.Text.Replace(text, "");
ConfigUtlis.saveConfigKey("txtDataRepertory", Tools.ToUrlEncode(txtDataRepertory.Text));
return (from c in text.Replace('\r', '-').Replace('\t', '-').Split('-')
where !string.IsNullOrEmpty(c.Trim())
select c).ToArray();
});
}
}
catch (Exception)
{
return new string[0];
}
}
public async void startRealName(List<AppleAcount> appleIds, bool startVpn, int model, int TaskSize)
{
base.taskState.isRun = true;
base.taskState.TaskIsRun = true;
ApiNetReq.startNowFun = 13;
AppleExecuteTask.TaskRunAppleIdCount = 0L;
AppleExecuteTask.TaskRunModels.Clear();
insertLog("-------开始执行---------");
insertLog("认证ID数量:" + appleIds.Count);
Task[] array = new Task[TaskSize];
for (int i = 0; i < TaskSize; i++)
{
array[i] = Task.Run(delegate
{
string guid = Guid.NewGuid().ToString("n");
TaskRunModel taskRunModel = new TaskRunModel
{
guid = guid,
isRuning = false
};
AppleExecuteTask.TaskRunModels.Add(taskRunModel);
while (base.taskState.isRun)
{
try
{
AppleAcount item = null;
lock (appleIds)
{
item = appleIds.Where((AppleAcount c) => !c.isAct).FirstOrDefault();
if (item == null)
{
break;
}
item.isAct = true;
}
if (startRuning(taskRunModel, delegate(string appleid, DisplyType reustType, string dasReust2)
{
insertLog(dasReust2);
}, item.appleId))
{
insertLog("正在登录" + item.appleId);
string msg = "";
string applePwd = item.applePwd;
string realNameMsg = "";
ItunesUtlis itunesUtlis = new ItunesUtlis(base.taskState, item.appleId, delegate(string appleKey, DisplyType type, string reust)
{
insertLog(appleKey + "," + reust);
}, startVpn);
AppleItunesLogin itunesLogin = getItunesLogin(startVpn, item, 13, itunesUtlis, ref msg);
if (msg.Contains("需要提供 Apple ID 验证码才能登录"))
{
insertLog("登录失败:" + msg);
object obj = Invoke((Func<string>)delegate
{
VerificationCodeFrom verificationCodeFrom = new VerificationCodeFrom();
verificationCodeFrom.AppleId = "Apple账号:" + item.appleId;
verificationCodeFrom.ShowDialog();
return verificationCodeFrom.reustCode;
});
if (obj.ToString().Length == 6)
{
item.applePwd += obj.ToString();
itunesLogin = getItunesLogin(startVpn, item, 13, itunesUtlis, ref msg);
}
}
if (itunesLogin != null)
{
insertLog(item.appleId + ",登录成功,国家:" + itunesLogin.Area);
if (itunesUtlis.CheckNeedRealName(itunesLogin) == CheckRealNameType.DonTneed)
{
realNameMsg = "账号不需要实名";
insertLog(item.appleId + ",账号不需要实名");
}
else
{
int num = ((model != 2) ? 1 : 3);
for (int j = 0; j < num; j++)
{
if (!base.taskState.isRun)
{
break;
}
if (model == 2)
{
string[] repertoryDataOnline = getRepertoryDataOnline();
if (repertoryDataOnline.Length >= 3)
{
item.appleQt1 = repertoryDataOnline[0];
item.appleQt2 = repertoryDataOnline[1];
item.appleQt3 = repertoryDataOnline[2];
}
else
{
item.appleQt2 = null;
realNameMsg = "没有资料了";
insertLog(item.appleId + "," + realNameMsg);
}
}
if (string.IsNullOrEmpty(item.appleQt2))
{
break;
}
if (RealNameApply(itunesUtlis, itunesLogin, item, ref realNameMsg))
{
APIUtlis.ApiApplyAct(13, "Apple认证");
SqliteHelper.ExecuteInsert("itunes_db", new Dictionary<string, string>
{
{ "type", "RealNameId" },
{
"addTime",
Tools.GenerateTimeStamp().ToString()
},
{
"value1",
Tools.GetMD5_32(itunesLogin.account.Trim() + "123teluns")
},
{ "value2", "1" }
});
lock (lokcAppleIdObj)
{
BeginInvoke((Action)delegate
{
string[] array2 = richTextBox1.Text.Split('\n');
foreach (string text in array2)
{
if (text.StartsWith(item.appleId))
{
richTextBox1.Text = richTextBox1.Text.Replace(text, "");
}
}
array2 = txtAppleId.Text.Split('\n');
foreach (string text2 in array2)
{
if (text2.StartsWith(item.appleId))
{
txtAppleId.Text = txtAppleId.Text.Replace(text2, "");
}
}
array2 = txtIdRepertory.Text.Split('\n');
foreach (string text3 in array2)
{
if (text3.StartsWith(item.appleId))
{
txtIdRepertory.Text = txtIdRepertory.Text.Replace(text3, "");
}
}
});
}
break;
}
if (j < num - 1)
{
iniserTodb(item.appleId, applePwd, item.appleQt2, realNameMsg);
}
}
}
}
else
{
realNameMsg = "ID登录失败:" + msg;
insertLog(item.appleId + ",ID登录失败" + msg);
}
iniserTodb(item.appleId, applePwd, item.appleQt2, realNameMsg);
goto IL_0512;
}
}
catch (Exception ex)
{
insertLog("请求失败:" + ex.Message);
goto IL_0512;
}
continue;
IL_0512:
endRuning(taskRunModel);
}
});
}
await Task.WhenAll(array);
AppleExecuteTask.TaskRunModels.Clear();
base.taskState.isRun = false;
base.taskState.TaskIsRun = false;
btnStartRealName.Enabled = true;
insertLog("-------处理结束---------");
}
private void iniserTodb(string appleId, string applePwd, string appleQt2, string realNameMsg)
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();
dictionary.Add("type", "realName");
dictionary.Add("addTime", Tools.GenerateTimeStamp().ToString());
dictionary.Add("value1", appleId);
dictionary.Add("value2", applePwd);
dictionary.Add("value3", (!string.IsNullOrEmpty(appleQt2)) ? appleQt2 : "");
dictionary.Add("value4", realNameMsg);
SqliteHelper.ExecuteInsert("itunes_db", dictionary);
lock (lvLogList)
{
BeginInvoke((Action)delegate
{
ListViewItem value = new ListViewItem((lvLogList.Items.Count + 1).ToString())
{
SubItems =
{
appleId,
applePwd,
(!string.IsNullOrEmpty(appleQt2)) ? appleQt2 : "",
realNameMsg
}
};
lvLogList.Items.Add(value);
});
}
}
private bool RealNameApply(ItunesUtlis utlis, AppleItunesLogin itunesLogin, AppleAcount acount, ref string realNameMsg)
{
insertLog(acount.appleId + ",正在开始认证:" + acount.appleQt2);
string referer = "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/redeemLandingPage?cc=cn";
string url = "https://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/redeemValidateId";
string postData = "response-content-type=application%2Fjson&name=" + HttpUtility.UrlEncode(acount.appleQt2) + "&phone=" + HttpUtility.UrlEncode(acount.appleQt1) + "&nationalId=" + acount.appleQt3;
Dictionary<string, string> dictionary = new Dictionary<string, string>();
dictionary.Add("X-Apple-Store-Front", "143465-19,12");
HttpResult httpResult = utlis.postUrlencodedItunesWebContext(url, postData, referer, itunesLogin, dictionary);
if (httpResult.StatusCode == HttpStatusCode.OK)
{
Dictionary<string, object> dictionary2 = (dynamic)Tools.Todejosn<object>(httpResult.Html);
int num = (dynamic)dictionary2["status"];
if (num == 0)
{
realNameMsg = "认证成功";
insertLog(itunesLogin.account + "认证成功");
return true;
}
string text = "原因未知";
if (num == -1)
{
if (dictionary2.ContainsKey("userPresentableErrorMessage"))
{
text = (dynamic)dictionary2["userPresentableErrorMessage"];
}
text = AppleUtlis.Html2Text(text);
}
realNameMsg = "认证失败:" + text;
insertLog(itunesLogin.account + "认证失败:" + text);
}
else
{
realNameMsg = "认证失败:未知错误";
insertLog("请求失败,未知错误");
}
return false;
}
public AppleItunesLogin getItunesLogin(bool openVpn, AppleAcount account, int type, ItunesUtlis utlis, ref string msg)
{
HttpResult isLogin = APIUtlis.getIsLogin(type);
if (isLogin.StatusCode == HttpStatusCode.OK)
{
dynamic val = Tools.Todejosn<object>(isLogin.Html);
if (val["Code"] == "0000")
{
if (val["Data"]["integral"] >= AppSysConfig.getTypeById(type).consNum)
{
string msgReust = "";
AppleItunesLogin appleItunesLogin = iTunesAccountLoginCache.getLoginIdUserInfo(account.appleId, account.applePwd);
if (string.IsNullOrEmpty(utlis.ProxyIp))
{
utlis.ProxyIp = ProxyAccountCache.getProxyAccountIP(account.appleId);
}
if (appleItunesLogin == null)
{
appleItunesLogin = ((!AppSysConfig.iTunesisRemoteLogin) ? utlis.appleLogin(account.appleId, account.applePwd + (account.isDoubleModl ? account.DoublePwd : ""), 1, ref msgReust, out var _) : utlis.remoteAppleLogin(account.appleId, account.applePwd + (account.isDoubleModl ? account.DoublePwd : ""), ref msgReust));
if (appleItunesLogin != null)
{
appleItunesLogin.account = account.appleId;
if (account.isDoubleModl)
{
appleItunesLogin.pwd = account.applePwd;
}
iTunesAccountLoginCache.addReddemUserInfo(account.appleId, appleItunesLogin);
}
}
if (appleItunesLogin != null)
{
if (account.isDoubleModl)
{
appleItunesLogin.pwd = account.applePwd;
}
appleItunesLogin.account = account.appleId;
return appleItunesLogin;
}
msg = msgReust;
}
else
{
msg = "点数不足,请联系客服充值";
}
}
else
{
msg = val["Message"];
}
}
else
{
msg = "网络请求失败";
}
return null;
}
public new void insertLog(string logText)
{
if (base.IsDisposed || !base.IsHandleCreated)
{
return;
}
try
{
lock (lokcObj)
{
BeginInvoke((Action)delegate
{
txtLog.Text = txtLog.Text.Insert(0, DateTime.Now.ToString("HH:mm:ss") + " " + logText + "\n");
});
}
}
catch (Exception)
{
}
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
}
private void button2_Click_1(object sender, EventArgs e)
{
base.taskState.Stop();
insertLog("正在请求停止,请稍后");
}
private void button3_Click(object sender, EventArgs e)
{
FromDBDataQuery fromDBDataQuery = new FromDBDataQuery();
fromDBDataQuery.sqlTitle = new Dictionary<string, string>
{
{ "value1", "账号|200" },
{ "value2", "密码|100" },
{ "value3", "认证名字|70" },
{ "value4", "信息|150" }
};
fromDBDataQuery.type = "realName";
fromDBDataQuery.typeName = "Apple认证";
fromDBDataQuery.Show();
}
private int ToInt(string[] ReddemThredSizeDefaults, int index, int df)
{
if (ReddemThredSizeDefaults.Length > index && int.TryParse(ReddemThredSizeDefaults[index], out var result))
{
return result;
}
return df;
}
private void btnStartRealName_Click_1(object sender, EventArgs e)
{
ConfigUtlis.saveConfigKey("txtRealNamePhone", txtRealNamePhone.Text);
ConfigUtlis.saveConfigKey("txtRealName", txtRealName.Text);
ConfigUtlis.saveConfigKey("txtRealNameNationalId", txtRealNameNationalId.Text);
ConfigUtlis.saveConfigKey("txtDataRepertory", Tools.ToUrlEncode(txtDataRepertory.Text));
string[] reddemThredSizeDefaults = AppSysConfig.getConfig("ReddemThredSizeDefault").Split(',').ToArray();
if (tabControl1.SelectedIndex == 0)
{
List<AppleAcount> list = AppleUtlis.accountInput(richTextBox1.Text.Trim());
if (string.IsNullOrEmpty(txtRealNamePhone.Text))
{
MessageBox.Show("请输入手机号码");
return;
}
if (string.IsNullOrEmpty(txtRealName.Text))
{
MessageBox.Show("请输入名称");
return;
}
if (string.IsNullOrEmpty(txtRealNameNationalId.Text))
{
MessageBox.Show("请输入身份证");
return;
}
foreach (AppleAcount item in list)
{
item.appleQt1 = txtRealNamePhone.Text;
item.appleQt2 = txtRealName.Text;
item.appleQt3 = txtRealNameNationalId.Text;
}
ConfigUtlis.saveConfigKey("ckRealNameVpn", ckRealNameVpn.Checked.ToString());
if (!base.taskState.isRun && !base.taskState.TaskIsRun)
{
btnStartRealName.Enabled = false;
base.taskState.isRun = true;
startRealName(list, ckRealNameVpn.Checked, tabControl1.SelectedIndex, ToInt(reddemThredSizeDefaults, 0, 1));
}
else
{
MessageBox.Show("执行任务还没结束,请稍等");
}
}
else if (tabControl1.SelectedIndex == 1)
{
List<AppleAcount> list2 = AppleUtlis.accountInput(txtAppleId.Text.Trim());
if (list2.Count == 0)
{
MessageBox.Show("请按正确格式输入ID");
return;
}
ConfigUtlis.saveConfigKey("ckRealNameVpn", ckRealNameVpn.Checked.ToString());
btnStartRealName.Enabled = false;
base.taskState.isRun = true;
startRealName(list2, ckRealNameVpn.Checked, tabControl1.SelectedIndex, ToInt(reddemThredSizeDefaults, 1, 2));
}
else
{
List<AppleAcount> list3 = AppleUtlis.accountInput(txtIdRepertory.Text.Trim());
if (list3.Count == 0)
{
MessageBox.Show("请按正确格式输入ID");
}
else if ((from c in txtDataRepertory.Text.Split('\n')
where !string.IsNullOrEmpty(c.Trim())
select c).Count() > 0)
{
ConfigUtlis.saveConfigKey("ckRealNameVpn", ckRealNameVpn.Checked.ToString());
btnStartRealName.Enabled = false;
base.taskState.isRun = true;
startRealName(list3, ckRealNameVpn.Checked, tabControl1.SelectedIndex, ToInt(reddemThredSizeDefaults, 2, 5));
}
else
{
MessageBox.Show("没有证件信息");
}
}
}
private void groupBox5_Enter(object sender, EventArgs e)
{
}
private void button1_Click_1(object sender, EventArgs e)
{
txtRealNamePhone.Text = Tools.getRandomTel();
}
private void ToolStripMenuItem_Click(object sender, EventArgs e)
{
try
{
IDataObject dataObject = Clipboard.GetDataObject();
if (dataObject.GetDataPresent(DataFormats.Text))
{
richTextBox1.Text = (string)dataObject.GetData(DataFormats.Text);
}
}
catch (Exception)
{
MessageBox.Show("粘贴失败");
}
}
private void ToolStripMenuItem1_Click(object sender, EventArgs e)
{
try
{
IDataObject dataObject = Clipboard.GetDataObject();
if (dataObject.GetDataPresent(DataFormats.Text))
{
txtAppleId.Text = (string)dataObject.GetData(DataFormats.Text);
}
}
catch (Exception)
{
MessageBox.Show("粘贴失败");
}
}
private void FromRealName_FormClosed(object sender, FormClosedEventArgs e)
{
base.taskState.isRun = false;
}
private void tabControl2_SelectedIndexChanged(object sender, EventArgs e)
{
if (tabControl2.SelectedIndex == 1)
{
Button button = btnEmptyLogList;
btnExportLogList.Visible = true;
button.Visible = true;
}
else
{
Button button2 = btnEmptyLogList;
btnExportLogList.Visible = false;
button2.Visible = false;
}
}
private void btnExportLogList_Click(object sender, EventArgs e)
{
ExperList(lvLogList);
}
private void btnEmptyLogList_Click(object sender, EventArgs e)
{
if (MessageBox.Show("确认清空列表数据吗", "提示", MessageBoxButtons.OKCancel) == DialogResult.OK)
{
lvLogList.Items.Clear();
}
}
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.txtLog = new System.Windows.Forms.RichTextBox();
this.labRealNameDianShu = new System.Windows.Forms.Label();
this.label31 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.ckRealNameVpn = new System.Windows.Forms.CheckBox();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label1 = new System.Windows.Forms.Label();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button1 = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.txtRealNameNationalId = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.txtRealName = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.txtRealNamePhone = new System.Windows.Forms.TextBox();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label6 = new System.Windows.Forms.Label();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.txtAppleId = new System.Windows.Forms.RichTextBox();
this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
this.tabPage5 = new System.Windows.Forms.TabPage();
this.label7 = new System.Windows.Forms.Label();
this.groupBox6 = new System.Windows.Forms.GroupBox();
this.txtDataRepertory = new System.Windows.Forms.RichTextBox();
this.richTextBox5 = new System.Windows.Forms.RichTextBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.txtIdRepertory = new System.Windows.Forms.RichTextBox();
this.richTextBox2 = new System.Windows.Forms.RichTextBox();
this.groupBox5 = new System.Windows.Forms.GroupBox();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.btnStartRealName = new System.Windows.Forms.Button();
this.tabControl2 = new System.Windows.Forms.TabControl();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.tabPage4 = new System.Windows.Forms.TabPage();
this.lvLogList = new System.Windows.Forms.ListView();
this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
this.btnEmptyLogList = new System.Windows.Forms.Button();
this.btnExportLogList = new System.Windows.Forms.Button();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.contextMenuStrip1.SuspendLayout();
this.groupBox1.SuspendLayout();
this.tabPage2.SuspendLayout();
this.groupBox4.SuspendLayout();
this.contextMenuStrip2.SuspendLayout();
this.tabPage5.SuspendLayout();
this.groupBox6.SuspendLayout();
this.groupBox3.SuspendLayout();
this.groupBox5.SuspendLayout();
this.tabControl2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.tabPage4.SuspendLayout();
base.SuspendLayout();
this.txtLog.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtLog.ForeColor = System.Drawing.Color.LightSeaGreen;
this.txtLog.Location = new System.Drawing.Point(3, 3);
this.txtLog.Name = "txtLog";
this.txtLog.ReadOnly = true;
this.txtLog.Size = new System.Drawing.Size(764, 297);
this.txtLog.TabIndex = 0;
this.txtLog.Text = "";
this.labRealNameDianShu.AutoSize = true;
this.labRealNameDianShu.Font = new System.Drawing.Font("微软雅黑", 10.5f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 134);
this.labRealNameDianShu.ForeColor = System.Drawing.Color.Crimson;
this.labRealNameDianShu.Location = new System.Drawing.Point(348, 292);
this.labRealNameDianShu.Name = "labRealNameDianShu";
this.labRealNameDianShu.Size = new System.Drawing.Size(18, 19);
this.labRealNameDianShu.TabIndex = 7;
this.labRealNameDianShu.Text = "0";
this.label31.AutoSize = true;
this.label31.Location = new System.Drawing.Point(255, 293);
this.label31.Name = "label31";
this.label31.Size = new System.Drawing.Size(89, 12);
this.label31.TabIndex = 6;
this.label31.Text = "认证消耗点数:";
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(402, 293);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(137, 12);
this.label5.TabIndex = 8;
this.label5.Text = "实名认证成功才扣除点数";
this.ckRealNameVpn.AutoSize = true;
this.ckRealNameVpn.ForeColor = System.Drawing.Color.Red;
this.ckRealNameVpn.Location = new System.Drawing.Point(27, 287);
this.ckRealNameVpn.Name = "ckRealNameVpn";
this.ckRealNameVpn.Size = new System.Drawing.Size(108, 16);
this.ckRealNameVpn.TabIndex = 11;
this.ckRealNameVpn.Text = "使用随机IP代理";
this.ckRealNameVpn.UseVisualStyleBackColor = true;
this.tabControl1.Controls.Add(this.tabPage1);
this.tabControl1.Controls.Add(this.tabPage2);
this.tabControl1.Controls.Add(this.tabPage5);
this.tabControl1.Location = new System.Drawing.Point(12, 9);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(607, 276);
this.tabControl1.TabIndex = 12;
this.tabPage1.Controls.Add(this.groupBox2);
this.tabPage1.Controls.Add(this.label1);
this.tabPage1.Controls.Add(this.groupBox1);
this.tabPage1.Location = new System.Drawing.Point(4, 22);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
this.tabPage1.Size = new System.Drawing.Size(599, 250);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "单次实名认证";
this.tabPage1.UseVisualStyleBackColor = true;
this.groupBox2.Controls.Add(this.richTextBox1);
this.groupBox2.Location = new System.Drawing.Point(8, 25);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(283, 184);
this.groupBox2.TabIndex = 5;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "输入中国区AppleID,只需要输入一个ID";
this.richTextBox1.ContextMenuStrip = this.contextMenuStrip1;
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Location = new System.Drawing.Point(3, 17);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(277, 164);
this.richTextBox1.TabIndex = 0;
this.richTextBox1.Text = "";
this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[1] { this.ToolStripMenuItem });
this.contextMenuStrip1.Name = "contextMenuStrip1";
this.contextMenuStrip1.Size = new System.Drawing.Size(101, 26);
this.ToolStripMenuItem.Name = "粘贴ToolStripMenuItem";
this.ToolStripMenuItem.Size = new System.Drawing.Size(100, 22);
this.ToolStripMenuItem.Text = "粘贴";
this.ToolStripMenuItem.Click += new System.EventHandler(ToolStripMenuItem_Click);
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(20, 221);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(197, 12);
this.label1.TabIndex = 4;
this.label1.Text = "输入的ID格式xxx@xx.com----密码";
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.label4);
this.groupBox1.Controls.Add(this.txtRealNameNationalId);
this.groupBox1.Controls.Add(this.label3);
this.groupBox1.Controls.Add(this.txtRealName);
this.groupBox1.Controls.Add(this.label2);
this.groupBox1.Controls.Add(this.txtRealNamePhone);
this.groupBox1.Location = new System.Drawing.Point(311, 28);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(282, 178);
this.groupBox1.TabIndex = 4;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "身份证信息";
this.button1.Location = new System.Drawing.Point(193, 23);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(83, 23);
this.button1.TabIndex = 6;
this.button1.Text = "随机号码";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(button1_Click_1);
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(9, 95);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(53, 12);
this.label4.TabIndex = 5;
this.label4.Text = "身份证号";
this.txtRealNameNationalId.Location = new System.Drawing.Point(71, 91);
this.txtRealNameNationalId.Name = "txtRealNameNationalId";
this.txtRealNameNationalId.Size = new System.Drawing.Size(170, 21);
this.txtRealNameNationalId.TabIndex = 4;
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(28, 60);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(29, 12);
this.label3.TabIndex = 3;
this.label3.Text = "姓名";
this.txtRealName.Location = new System.Drawing.Point(74, 56);
this.txtRealName.Name = "txtRealName";
this.txtRealName.Size = new System.Drawing.Size(127, 21);
this.txtRealName.TabIndex = 2;
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(9, 26);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(53, 12);
this.label2.TabIndex = 1;
this.label2.Text = "手机号码";
this.txtRealNamePhone.Location = new System.Drawing.Point(74, 23);
this.txtRealNamePhone.Name = "txtRealNamePhone";
this.txtRealNamePhone.Size = new System.Drawing.Size(113, 21);
this.txtRealNamePhone.TabIndex = 0;
this.tabPage2.Controls.Add(this.textBox1);
this.tabPage2.Controls.Add(this.label6);
this.tabPage2.Controls.Add(this.groupBox4);
this.tabPage2.Location = new System.Drawing.Point(4, 22);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
this.tabPage2.Size = new System.Drawing.Size(599, 250);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "批量实名认证";
this.tabPage2.UseVisualStyleBackColor = true;
this.textBox1.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.textBox1.Enabled = false;
this.textBox1.Location = new System.Drawing.Point(92, 8);
this.textBox1.Name = "textBox1";
this.textBox1.ReadOnly = true;
this.textBox1.Size = new System.Drawing.Size(332, 21);
this.textBox1.TabIndex = 16;
this.textBox1.Text = "xxx@xx.com----密码-手机号码-姓名-身份证号";
this.label6.AutoSize = true;
this.label6.Location = new System.Drawing.Point(9, 11);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(89, 12);
this.label6.TabIndex = 15;
this.label6.Text = "输入的ID格式";
this.groupBox4.Controls.Add(this.txtAppleId);
this.groupBox4.Location = new System.Drawing.Point(8, 34);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(548, 202);
this.groupBox4.TabIndex = 14;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "输入中国区AppleID 多个ID请换行";
this.txtAppleId.ContextMenuStrip = this.contextMenuStrip2;
this.txtAppleId.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtAppleId.Location = new System.Drawing.Point(3, 17);
this.txtAppleId.Name = "txtAppleId";
this.txtAppleId.Size = new System.Drawing.Size(542, 182);
this.txtAppleId.TabIndex = 0;
this.txtAppleId.Text = "";
this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[1] { this.ToolStripMenuItem1 });
this.contextMenuStrip2.Name = "contextMenuStrip2";
this.contextMenuStrip2.Size = new System.Drawing.Size(101, 26);
this.ToolStripMenuItem1.Name = "粘贴ToolStripMenuItem1";
this.ToolStripMenuItem1.Size = new System.Drawing.Size(100, 22);
this.ToolStripMenuItem1.Text = "粘贴";
this.ToolStripMenuItem1.Click += new System.EventHandler(ToolStripMenuItem1_Click);
this.tabPage5.Controls.Add(this.label7);
this.tabPage5.Controls.Add(this.groupBox6);
this.tabPage5.Controls.Add(this.groupBox3);
this.tabPage5.Location = new System.Drawing.Point(4, 22);
this.tabPage5.Name = "tabPage5";
this.tabPage5.Size = new System.Drawing.Size(599, 250);
this.tabPage5.TabIndex = 2;
this.tabPage5.Text = "资料库模式实名认证";
this.tabPage5.UseVisualStyleBackColor = true;
this.label7.AutoSize = true;
this.label7.Location = new System.Drawing.Point(12, 227);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(449, 12);
this.label7.TabIndex = 8;
this.label7.Text = "左边区域输入账号和密码右边区域输入证件信息每个ID超过认证失败三次则跳过";
this.groupBox6.Controls.Add(this.txtDataRepertory);
this.groupBox6.Controls.Add(this.richTextBox5);
this.groupBox6.Location = new System.Drawing.Point(298, 12);
this.groupBox6.Name = "groupBox6";
this.groupBox6.Size = new System.Drawing.Size(285, 207);
this.groupBox6.TabIndex = 7;
this.groupBox6.TabStop = false;
this.groupBox6.Text = "证件资料库:格式:手机号码-姓名-身份证号";
this.txtDataRepertory.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtDataRepertory.Location = new System.Drawing.Point(3, 17);
this.txtDataRepertory.Name = "txtDataRepertory";
this.txtDataRepertory.Size = new System.Drawing.Size(279, 187);
this.txtDataRepertory.TabIndex = 1;
this.txtDataRepertory.Text = "";
this.richTextBox5.ContextMenuStrip = this.contextMenuStrip1;
this.richTextBox5.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox5.Location = new System.Drawing.Point(3, 17);
this.richTextBox5.Name = "richTextBox5";
this.richTextBox5.Size = new System.Drawing.Size(279, 187);
this.richTextBox5.TabIndex = 0;
this.richTextBox5.Text = "";
this.groupBox3.Controls.Add(this.txtIdRepertory);
this.groupBox3.Controls.Add(this.richTextBox2);
this.groupBox3.Location = new System.Drawing.Point(10, 11);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(282, 207);
this.groupBox3.TabIndex = 6;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "输入中国区ID账号----密码";
this.txtIdRepertory.Dock = System.Windows.Forms.DockStyle.Fill;
this.txtIdRepertory.Location = new System.Drawing.Point(3, 17);
this.txtIdRepertory.Name = "txtIdRepertory";
this.txtIdRepertory.Size = new System.Drawing.Size(276, 187);
this.txtIdRepertory.TabIndex = 1;
this.txtIdRepertory.Text = "";
this.richTextBox2.ContextMenuStrip = this.contextMenuStrip1;
this.richTextBox2.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox2.Location = new System.Drawing.Point(3, 17);
this.richTextBox2.Name = "richTextBox2";
this.richTextBox2.Size = new System.Drawing.Size(276, 187);
this.richTextBox2.TabIndex = 0;
this.richTextBox2.Text = "";
this.groupBox5.Controls.Add(this.button2);
this.groupBox5.Controls.Add(this.button3);
this.groupBox5.Controls.Add(this.btnStartRealName);
this.groupBox5.Location = new System.Drawing.Point(625, 31);
this.groupBox5.Name = "groupBox5";
this.groupBox5.Size = new System.Drawing.Size(169, 239);
this.groupBox5.TabIndex = 13;
this.groupBox5.TabStop = false;
this.groupBox5.Text = "操作";
this.groupBox5.Enter += new System.EventHandler(groupBox5_Enter);
this.button2.Location = new System.Drawing.Point(21, 117);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(130, 24);
this.button2.TabIndex = 8;
this.button2.Text = "停止认证";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(button2_Click_1);
this.button3.Location = new System.Drawing.Point(21, 186);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(86, 23);
this.button3.TabIndex = 7;
this.button3.Text = "认证记录";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(button3_Click);
this.btnStartRealName.Location = new System.Drawing.Point(21, 54);
this.btnStartRealName.Name = "btnStartRealName";
this.btnStartRealName.Size = new System.Drawing.Size(130, 46);
this.btnStartRealName.TabIndex = 6;
this.btnStartRealName.Text = "开始认证";
this.btnStartRealName.UseVisualStyleBackColor = true;
this.btnStartRealName.Click += new System.EventHandler(btnStartRealName_Click_1);
this.tabControl2.Controls.Add(this.tabPage3);
this.tabControl2.Controls.Add(this.tabPage4);
this.tabControl2.Location = new System.Drawing.Point(16, 311);
this.tabControl2.Name = "tabControl2";
this.tabControl2.SelectedIndex = 0;
this.tabControl2.Size = new System.Drawing.Size(778, 329);
this.tabControl2.TabIndex = 14;
this.tabControl2.SelectedIndexChanged += new System.EventHandler(tabControl2_SelectedIndexChanged);
this.tabPage3.Controls.Add(this.txtLog);
this.tabPage3.Location = new System.Drawing.Point(4, 22);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
this.tabPage3.Size = new System.Drawing.Size(770, 303);
this.tabPage3.TabIndex = 0;
this.tabPage3.Text = "日志";
this.tabPage3.UseVisualStyleBackColor = true;
this.tabPage4.Controls.Add(this.lvLogList);
this.tabPage4.Location = new System.Drawing.Point(4, 22);
this.tabPage4.Name = "tabPage4";
this.tabPage4.Padding = new System.Windows.Forms.Padding(3);
this.tabPage4.Size = new System.Drawing.Size(770, 303);
this.tabPage4.TabIndex = 1;
this.tabPage4.Text = "认证结果列表";
this.tabPage4.UseVisualStyleBackColor = true;
this.lvLogList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[5] { this.columnHeader5, this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4 });
this.lvLogList.Dock = System.Windows.Forms.DockStyle.Fill;
this.lvLogList.FullRowSelect = true;
this.lvLogList.HideSelection = false;
this.lvLogList.Location = new System.Drawing.Point(3, 3);
this.lvLogList.Name = "lvLogList";
this.lvLogList.Size = new System.Drawing.Size(764, 297);
this.lvLogList.TabIndex = 0;
this.lvLogList.UseCompatibleStateImageBehavior = false;
this.lvLogList.View = System.Windows.Forms.View.Details;
this.columnHeader5.Text = "序号";
this.columnHeader1.Text = "账号";
this.columnHeader1.Width = 200;
this.columnHeader2.Text = "密码";
this.columnHeader2.Width = 100;
this.columnHeader3.Text = "名字";
this.columnHeader3.Width = 80;
this.columnHeader4.Text = "认证结果";
this.columnHeader4.Width = 300;
this.btnEmptyLogList.Location = new System.Drawing.Point(629, 283);
this.btnEmptyLogList.Name = "btnEmptyLogList";
this.btnEmptyLogList.Size = new System.Drawing.Size(75, 23);
this.btnEmptyLogList.TabIndex = 15;
this.btnEmptyLogList.Text = "清空列表";
this.btnEmptyLogList.UseVisualStyleBackColor = true;
this.btnEmptyLogList.Click += new System.EventHandler(btnEmptyLogList_Click);
this.btnExportLogList.Location = new System.Drawing.Point(715, 283);
this.btnExportLogList.Name = "btnExportLogList";
this.btnExportLogList.Size = new System.Drawing.Size(75, 23);
this.btnExportLogList.TabIndex = 16;
this.btnExportLogList.Text = "导出";
this.btnExportLogList.UseVisualStyleBackColor = true;
this.btnExportLogList.Click += new System.EventHandler(btnExportLogList_Click);
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 12f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
base.ClientSize = new System.Drawing.Size(802, 646);
base.Controls.Add(this.btnExportLogList);
base.Controls.Add(this.btnEmptyLogList);
base.Controls.Add(this.tabControl2);
base.Controls.Add(this.tabControl1);
base.Controls.Add(this.ckRealNameVpn);
base.Controls.Add(this.label5);
base.Controls.Add(this.groupBox5);
base.Controls.Add(this.labRealNameDianShu);
base.Controls.Add(this.label31);
base.MaximizeBox = false;
base.Name = "FromRealName";
base.ShowIcon = false;
base.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "中国区ID身份认证";
base.FormClosed += new System.Windows.Forms.FormClosedEventHandler(FromRealName_FormClosed);
base.Load += new System.EventHandler(FromRealName_Load);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.contextMenuStrip1.ResumeLayout(false);
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tabPage2.PerformLayout();
this.groupBox4.ResumeLayout(false);
this.contextMenuStrip2.ResumeLayout(false);
this.tabPage5.ResumeLayout(false);
this.tabPage5.PerformLayout();
this.groupBox6.ResumeLayout(false);
this.groupBox3.ResumeLayout(false);
this.groupBox5.ResumeLayout(false);
this.tabControl2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.tabPage4.ResumeLayout(false);
base.ResumeLayout(false);
base.PerformLayout();
}
}
}