public string strBLUrl(string strVid) { System.DateTime startTime = TimeZone.CurrentTimeZone.ToLocalTime(new System.DateTime(1970, 1, 1, 0, 0, 0, 0)); long t = (DateTime.Now.Ticks - startTime.Ticks) / 10000; //除10000调整为13位 string ptime = t.ToString(); string vid = strVid; string s = "format=json&ptime=" + ptime + "&vid=" + strVid + "Ur4a8Jn7XU"; string strQM = s.Sha1Sign().ToUpper(); Dictionary <String, String> DATA = new Dictionary <String, String>(); DATA.Add("vid", vid); DATA.Add("ptime", ptime); DATA.Add("sign", strQM); DATA.Add("format", "json"); // DATA.Add("userid", "33074c0252"); string strFileAPIRegUrl = "http://api.polyv.net/v2/video/33074c0252/get-video-msg?format=json&vid=" + vid + "&ptime=" + ptime + "&sign=" + strQM; string st = CommonHelp.HttpGet(strFileAPIRegUrl); JObject wigdata = JObject.Parse(st); JArray categories = JArray.Parse(wigdata["data"].ToString()); string strMP4 = (string)categories[0]["mp4_1"]; return(strMP4); }