예제 #1
0
 public HitBox(string user, string password)
 {
     loginLock = new object();
     loginWC = new CookieAwareWebClient();
     _user = user;
     _password = password;
 }
예제 #2
0
        public Goodgame( string user, string password, bool loadHistory = false )
        {
            cwc = new CookieAwareWebClient();
            _loadHistory = loadHistory;
            _chatId = null;
            _userId = -1;
            _user = user;
            _channels = new List<GGChannel>();

            if( !String.IsNullOrEmpty(user) )
            {
                _userToken = GetMd5Hash(MD5.Create(), password);
            }
            updateChannelList();


        }
예제 #3
0
 public GohaTV()
 {
     wc = new CookieAwareWebClient();
     wc.Headers["User-Agent"] = userAgent;
     LoggedIn = false;
 }