HttpClient.HeadContentLength Method

DCSoft.DBUtilityGeneric

HttpClientHeadContentLength Method
发出一次新的Head请求,获取资源的长度 此请求会忽略PostingData, Files, StartPoint, EndPoint, Verb

Namespace: DCSoft.Utility.Web
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public int HeadContentLength()

Return Value

Type: Int32
返回的资源长度
See Also