---
title: "ASP.NET的Request对象的属性介绍"
author: "jdlsfl"
date: "2007-12-22T11:52:00Z"
tags: []
slug: "asp-net-request"
draft: false
lastmod: "2007-12-22T11:52:00Z"
id: 209444
url: "https://jdlsfl.iteye.com/blog/209444"
---

本文主要介绍一下 ASP.net 的 **Request 对象的属性**，对新手朋友来说是个不错的参考对照文章。

　　UserLanguages 客户端主机所使用的&lt;nobr oncontextmenu="return false;" id="key1" onmousemove="kwM(2);" onmouseover="kwE(event,2, this);" onclick="return kwC();" target="\_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline"&gt;语言&lt;/nobr&gt;

　　UserHostName 客户端主机的DNS名称

　　userHostArrress 客户端主机的IP地址

　　UserAgent &lt;nobr oncontextmenu="return false;" id="key4" onmousemove="kwM(6);" onmouseover="kwE(event,6, this);" onclick="return kwC();" target="\_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: 0px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline"&gt;客户&lt;/nobr&gt;端浏览器版本

　　Url 当前要求的URL

　　TotalBytes 当前输入的容量大小

　　ServerVariables 网页的Server变量

　　RequestType 客户端网页的传送方式(Get/Post)

　　RawUrl 当前页面的U『RL

　　QueryString 浏览器地址栏后的参数

　　PhysicalPath 当前网页在服务器端的实际路径

　　PhysicalApplicationPath 当前在服务器端执行的&lt;nobr oncontextmenu="return false;" id="key3" onmousemove="kwM(4);" onmouseover="kwE(event,4, this);" onclick="return kwC();" target="\_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline"&gt;程序&lt;/nobr&gt;的实际路径

　　Pathq 当前网页的相对地址

　　Params 返回QueryString、Form、Cookies、ServerVariables的全部集合，中国自学编程网，www.zxbc.cn。

　　IsSecureConnection 目前联机的&lt;nobr oncontextmenu="return false;" id="key2" onmousemove="kwM(3);" onmouseover="kwE(event,3, this);" onclick="return kwC();" target="\_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline"&gt;安全&lt;/nobr&gt;性

　　IsAuthenticated 目前联机是否有效

　　HttpMethod 目前客户端网页的传送方式(Get/Post)

　　Headers 网页的标题集合

　　Form 窗体变量

　　Files 客户端上传的文件

　　FilePath 当前执行网页的相对地址

　　Cookies HttpCookieCollection对象集合

　　ContentType 当前需求的MIME内容类型

　　ContentEncoding 客户端浏览器的字符设置 -

　　ConnectionlD 客户端所提出的网页浏览请求的联机的ID

　　ClientCertificate 客户端安全认证&lt;nobr oncontextmenu="return false;" id="key0" onmousemove="kwM(0);" onmouseover="kwE(event,0, this);" onclick="return kwC();" target="\_blank" onmouseout="kwL(event, this);" style="COLOR: #6600ff; BORDER-BOTTOM: #6600ff 1px dotted; BACKGROUND-COLOR: transparent; TEXT-DECORATION: underline"&gt;信息&lt;/nobr&gt;

　　Browser 客户端浏览器的信息

　　AnnlicationPath 当前运行程序的服务器端虚拟目录