示例#1
0
        public List<TokenKeyCollection> GetToken(string userID, string pwd)
        {
            SinaApiService myApi = new SinaApiService();
            List<string> strKey;
            strKey = myApi.GetToken(userID, pwd);
            List<TokenKeyCollection> myResults = new List<TokenKeyCollection>();
            myResults.Add(new TokenKeyCollection(strKey[0].ToString(), strKey[1].ToString()));

            return myResults;
        }