? 1: #pragma checksum "d:\wwwroot\i.wskmn.com\index\index.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "313828F0A673F311894796AD9B975472E762EC02"
? 2: //------------------------------------------------------------------------------
? 3: // <auto-generated>
? 4: // ?????????
? 5: // ?????:4.0.30319.42000
? 6: //
? 7: // ??????????????????,????
? 8: // ??????,?????????
? 9: // </auto-generated>
? 10: //------------------------------------------------------------------------------
? 11:
? 12: namespace ASP {
? 13:
? 14: #line 394 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 15: using System.Web.DynamicData;
? 16:
? 17: #line default
? 18: #line hidden
? 19:
? 20: #line 384 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 21: using System.Collections;
? 22:
? 23: #line default
? 24: #line hidden
? 25:
? 26: #line 3 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 27: using System.Text;
? 28:
? 29: #line default
? 30: #line hidden
? 31:
? 32: #line 6 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 33: using System.Drawing;
? 34:
? 35: #line default
? 36: #line hidden
? 37:
? 38: #line 398 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 39: using System.Web.UI;
? 40:
? 41: #line default
? 42: #line hidden
? 43:
? 44: #line 385 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 45: using System.Collections.Generic;
? 46:
? 47: #line default
? 48: #line hidden
? 49:
? 50: #line 389 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 51: using System.Linq;
? 52:
? 53: #line default
? 54: #line hidden
? 55:
? 56: #line 402 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 57: using System.Xml.Linq;
? 58:
? 59: #line default
? 60: #line hidden
? 61:
? 62: #line 5 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 63: using System.Net;
? 64:
? 65: #line default
? 66: #line hidden
? 67:
? 68: #line 395 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 69: using System.Web.SessionState;
? 70:
? 71: #line default
? 72: #line hidden
? 73:
? 74: #line 7 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 75: using System.Diagnostics;
? 76:
? 77: #line default
? 78: #line hidden
? 79:
? 80: #line 2 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 81: using System.IO;
? 82:
? 83: #line default
? 84: #line hidden
? 85:
? 86: #line 386 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 87: using System.Collections.Specialized;
? 88:
? 89: #line default
? 90: #line hidden
? 91:
? 92: #line 392 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 93: using System.Web;
? 94:
? 95: #line default
? 96: #line hidden
? 97:
? 98: #line 4 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 99: using System.Threading.Tasks;
? 100:
? 101: #line default
? 102: #line hidden
? 103:
? 104: #line 393 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 105: using System.Web.Caching;
? 106:
? 107: #line default
? 108: #line hidden
? 109:
? 110: #line 397 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 111: using System.Web.Profile;
? 112:
? 113: #line default
? 114: #line hidden
? 115:
? 116: #line 387 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 117: using System.ComponentModel.DataAnnotations;
? 118:
? 119: #line default
? 120: #line hidden
? 121:
? 122: #line 399 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 123: using System.Web.UI.WebControls;
? 124:
? 125: #line default
? 126: #line hidden
? 127:
? 128: #line 396 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 129: using System.Web.Security;
? 130:
? 131: #line default
? 132: #line hidden
? 133:
? 134: #line 383 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 135: using System;
? 136:
? 137: #line default
? 138: #line hidden
? 139:
? 140: #line 400 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 141: using System.Web.UI.WebControls.WebParts;
? 142:
? 143: #line default
? 144: #line hidden
? 145:
? 146: #line 391 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 147: using System.Text.RegularExpressions;
? 148:
? 149: #line default
? 150: #line hidden
? 151:
? 152: #line 388 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 153: using System.Configuration;
? 154:
? 155: #line default
? 156: #line hidden
? 157:
? 158: #line 401 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
? 159: using System.Web.UI.HtmlControls;
? 160:
? 161: #line default
? 162: #line hidden
? 163:
? 164:
? 165: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
? 166: public class index_index_aspx : global::System.Web.UI.Page, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpAsyncHandler, System.Web.IHttpHandler {
? 167:
? 168: private static bool @__initialized;
? 169:
? 170: private static object @__fileDependencies;
? 171:
? 172:
? 173: #line 8 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 174:
? 175: public void Page_Load(object sender, EventArgs e)
? 176: {
? 177: PageAsyncTask t = new PageAsyncTask(PageLoadAsync);
? 178: Page.RegisterAsyncTask(t);
? 179: Page.ExecuteRegisteredAsyncTasks();
? 180: }
? 181: public async Task PageLoadAsync()
? 182: {
? 183: string u="http://i.wskmn.com/bx/?"+url().Replace("idx=","id=");
? 184: Response.Write (await GetWebContentAsync(u));
? 185: }
? 186:
? 187: protected string url()
? 188: {
? 189: return url = Request.ServerVariables["QUERY_STRING"];
? 190: }
? 191:
? 192:
? 193:
? 194: //???k?????
? 195: public async Task<string> GetWebContentAsync(string strURL, string strCharset, int intTimeout)
? 196: {
? 197:
? 198: try
? 199: {
? 200: HttpWebRequest request = (HttpWebRequest)WebRequest.Create(strURL);
? 201: request.Timeout = intTimeout;
? 202: request.ContentType = "application/x-www-form-urlencoded";
? 203:
? 204: WebResponse response = await request.GetResponseAsync();
? 205:
? 206: if (((HttpWebResponse)response).StatusCode != HttpStatusCode.OK)
? 207: {
? 208: return "{error}";
? 209: }
? 210:
? 211: Stream receiveStream = response.GetResponseStream();
? 212: StreamReader readStream = null;
? 213:
? 214: if (strCharset == null)
? 215: readStream = new StreamReader(receiveStream);
? 216: else
? 217: readStream = new StreamReader(receiveStream, Encoding.GetEncoding(strCharset));
? 218:
? 219: string data = await readStream.ReadToEndAsync();
? 220:
? 221: response.Close();
? 222: readStream.Close();
? 223: return data;
? 224: }
? 225: catch
? 226: {
? 227: return "{error}";
? 228: }
? 229: }
? 230:
? 231:
? 232: #line default
? 233: #line hidden
? 234:
? 235:
? 236: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
? 237: public index_index_aspx() {
? 238: string[] dependencies;
? 239: ((global::System.Web.UI.Page)(this)).AppRelativeVirtualPath = "~/index/index.aspx";
? 240: if ((global::ASP.index_index_aspx.@__initialized == false)) {
? 241: dependencies = new string[1];
? 242: dependencies[0] = "~/index/index.aspx";
? 243: global::ASP.index_index_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
? 244: global::ASP.index_index_aspx.@__initialized = true;
? 245: }
? 246: this.Server.ScriptTimeout = 30000000;
? 247: this.AsyncMode = true;
? 248: }
? 249:
? 250: protected System.Web.Profile.DefaultProfile Profile {
? 251: get {
? 252: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
? 253: }
? 254: }
? 255:
? 256: protected System.Web.HttpApplication ApplicationInstance {
? 257: get {
? 258: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
? 259: }
? 260: }
? 261:
? 262: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
? 263: private void @__BuildControlTree(index_index_aspx @__ctrl) {
? 264:
? 265: #line 1 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 266: @__ctrl.ResponseEncoding = "utf-8";
? 267:
? 268: #line default
? 269: #line hidden
? 270:
? 271: #line 1 "d:\wwwroot\i.wskmn.com\index\index.aspx"
? 272: this.InitializeCulture();
? 273:
? 274: #line default
? 275: #line hidden
? 276: }
? 277:
? 278: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
? 279: protected override void FrameworkInitialize() {
? 280: base.FrameworkInitialize();
? 281: this.@__BuildControlTree(this);
? 282: this.AddWrappedFileDependencies(global::ASP.index_index_aspx.@__fileDependencies);
? 283: this.Request.ValidateInput();
? 284: }
? 285:
? 286: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
? 287: public override int GetTypeHashCode() {
? 288: return 5381;
? 289: }
? 290:
? 291: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
? 292: public virtual System.IAsyncResult BeginProcessRequest(System.Web.HttpContext context, System.AsyncCallback cb, object data) {
? 293: return this.AsyncPageBeginProcessRequest(context, cb, data);
? 294: }
? 295:
? 296: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
? 297: public virtual void EndProcessRequest(System.IAsyncResult ar) {
? 298: this.AsyncPageEndProcessRequest(ar);
? 299: }
? 300:
? 301: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
? 302: public override void ProcessRequest(System.Web.HttpContext context) {
? 303: base.ProcessRequest(context);
? 304: }
? 305: }
? 306: }
? 307:
|