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

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;
}
}
}
}