mirror of
https://git.oceanpay.cc/danial/kami_itunes_june.git
synced 2025-12-18 21:21:34 +00:00
88 lines
1.6 KiB
C#
88 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Net;
|
|
|
|
namespace AppleBatch_June.Login
|
|
{
|
|
public class iTunesUserInfo
|
|
{
|
|
private DateTime dateTime_0 = DateTime.Now;
|
|
|
|
private Dictionary<string, string> waitingDownloadMedataDict = new Dictionary<string, string>();
|
|
|
|
public iTunesDownloadErrorState State;
|
|
|
|
public string siv = string.Empty;
|
|
|
|
public CookieContainer PcookieContainer = new CookieContainer();
|
|
|
|
public string Area { get; set; } = string.Empty;
|
|
|
|
|
|
public string Balance { get; set; }
|
|
|
|
public string Boundary { get; set; }
|
|
|
|
public string Credit { get; set; }
|
|
|
|
public string Dsid { get; set; }
|
|
|
|
public string Guid { get; set; }
|
|
|
|
public bool IsAreaChanged { get; set; }
|
|
|
|
public string Country { get; set; }
|
|
|
|
public string Kbsync { get; set; }
|
|
|
|
public string MachineName { get; set; }
|
|
|
|
public string Password { get; set; }
|
|
|
|
public string PasswordToken { get; set; }
|
|
|
|
public string PlistContent { get; set; } = string.Empty;
|
|
|
|
|
|
public string PurchedMedata { get; set; } = string.Empty;
|
|
|
|
|
|
public string ServerId { get; set; } = "20";
|
|
|
|
|
|
public string StoredDescrption { get; set; } = string.Empty;
|
|
|
|
|
|
public string UserAgent { get; set; }
|
|
|
|
public int UserId { get; set; }
|
|
|
|
public string UserName { get; set; }
|
|
|
|
public string PRH { get; set; }
|
|
|
|
public Dictionary<string, string> WaitingDownloadMedataDict
|
|
{
|
|
get
|
|
{
|
|
try
|
|
{
|
|
if (DateTime.Now.Subtract(dateTime_0).TotalHours > 48.0)
|
|
{
|
|
waitingDownloadMedataDict.Clear();
|
|
}
|
|
}
|
|
catch
|
|
{
|
|
}
|
|
return waitingDownloadMedataDict;
|
|
}
|
|
set
|
|
{
|
|
dateTime_0 = DateTime.Now;
|
|
waitingDownloadMedataDict = value;
|
|
}
|
|
}
|
|
}
|
|
}
|