看板 NDHU_CSIE12 關於我們 聯絡資訊
protected void Button1_Click(object sender, EventArgs e) { lblOutput.Text = "<hr/>"; lblOutput.Text += Request.ServerVariables[txtServer.Text]; } protected void Button2_Click(object sender, EventArgs e) { const string BR = "<br/>"; // 換行標籤常數 HttpBrowserCapabilities hbc = Request.Browser; lblOutput.Text = "<hr/>瀏覽程式種類: " + hbc.Type + BR; lblOutput.Text += "瀏覽程式名稱: " + hbc.Browser + BR; lblOutput.Text += "版本: " + hbc.Version + BR; lblOutput.Text += "主版本: " + hbc.MajorVersion + BR; lblOutput.Text += "次版本: " + hbc.MinorVersion + BR; lblOutput.Text += "平台: " + hbc.Platform + BR; lblOutput.Text += "支援框架: " + hbc.Frames + BR; lblOutput.Text += "支援表格: " + hbc.Tables + BR; lblOutput.Text += "支援Cookies: " + hbc.Cookies + BR; lblOutput.Text += "支援VBScript: " + hbc.VBScript + BR; lblOutput.Text += "支援JavaScript: " + hbc.JavaScript + BR; lblOutput.Text += "支援Java Applets: " + hbc.JavaApplets + BR; lblOutput.Text += "支援ActiveX控制: " + hbc.ActiveXControls + BR; } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 134.208.3.230
DCFreeze:這篇該M 11/03 14:42
cgh515:騙文章數... 11/03 14:42
MrChild:恩 其他篇騙你怎麼不去推= = 11/03 16:01