⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usingsvrinfo.aspx

📁 用VB实现
💻 ASPX
字号:
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" %><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
</head>
<body>
<%
' Server Info
Response.Write("<table>")
Response.Write("<tr><th>Web Server Info</th><th></th></tr>")
Response.Write("<tr><td valign=""top"">ApplicationPath:</td><td valign=""top"">" + Request.ApplicationPath + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">Physical Application Path:</td><td valign=""top"">" + Request.PhysicalApplicationPath + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">Physical Path:</td><td valign=""top"">" + Request.PhysicalPath + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">Virtual Path:</td><td valign=""top"">" + Request.Path + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">Url:</td><td valign=""top"">" + Request.Url.ToString() + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">.NET Framework Version:</td><td valign=""top"">" + Environment.Version.ToString() + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">OS Version:</td><td valign=""top"">" + Environment.OSVersion.ToString() + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">System Directory:</td><td valign=""top"">" + Environment.SystemDirectory + "&nbsp;</td></tr>")
Response.Write("<tr><td valign=""top"">IIS Version:</td><td valign=""top"">" + Request.ServerVariables("SERVER_SOFTWARE").ToString() + "&nbsp;</td></tr>")
Response.Write("</table>")
%>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -