public WeChatData(HttpWeChat httpWeChat) { this.m_HttpWeChat = httpWeChat; R = new Random(); httpWeChat.DeviceID = "e" + R.Next(10000000, 99999999).ToString() + R.Next(1000000, 9999999).ToString(); baseRequest = new BaseRequest { DeviceID = httpWeChat.DeviceID, Sid = httpWeChat.AuthorizationInfo.Sid, Skey = httpWeChat.AuthorizationInfo.Skey, Uin = httpWeChat.AuthorizationInfo.Uin }; }
public AuthorizationInfo(HttpWeChat httpWeChat) { m_httpWeChat = httpWeChat; }
public WeChatMessageMonitor(HttpWeChat httpWeChat, CancellationToken token) { m_token = token; m_httpWeChat = httpWeChat; }