HttpHelper.GetHtmlContent Method (String, Encoding)

DCSoft.DBUtilityGeneric

HttpHelperGetHtmlContent Method (String, Encoding)
获取html内容

Namespace: DCSoft.Utility.Utils
Assembly: DCSoft.Utility (in DCSoft.Utility.dll) Version: 0.0.0.0 (1.0.0.0)
Syntax
C#
public static string GetHtmlContent(
	string url,
	Encoding encoding
)

Parameters

url
Type: SystemString
URL地址
encoding
Type: System.TextEncoding
字符编码

Return Value

Type: String
返回html内容
See Also