|
- <!-- Asp.net专用链代码一 --> <script runat=server>public string ThunderEncode(string code) { code="AA"+code+"ZZ"; string encode = ""; byte[] bytes = Encoding.GetEncoding(54936).GetBytes(code); try { encode = Convert.ToBase64String(bytes);} catch {encode = code;} return "thunder://"+encode;} </script> <script src="http://pstatic.xunlei.com/js/webThunderDetect.js"></script><a href="#" thunderHref="<%=ThunderEncode("http://资源实际下载地址")%>" thunderPid="29894" thunderType="" thunderResTitle="" onClick="return OnDownloadClick_Simple(this,2,4)" oncontextmenu="ThunderNetwork_SetHref(this)">迅雷专用高速下载</a>
.net版本迅雷推广下载代码怎么融合到系统中去?
|