wrong sidinfo.aspx return json
Bro what is wrong here?
1.<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SidInfo.aspx.cs" Inherits="auth.SidInfo" %>
2.<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SidInfo.aspx.cs" Inherits="_Default" %>
3.
using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.IO;public partial class _Default : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { string str4 = AppDomain.CurrentDomain.BaseDirectory; string str5 = Request.PhysicalApplicationPath; Response.ContentType = "text/html"; FileStream fs = new FileStream(str5 + "QMQJLogin\\1.dat", FileMode.Open, FileAccess.Read); int fslength = (int)fs.Length; byte[] bimg = new byte[fslength]; fs.Read(bimg, 0, fslength); fs.Close(); Response.BinaryWrite(bimg); Response.End(); }}