JHWebClient.DataAcquisition Method (String, Encoding)

DCSoft.DBUtilityGeneric

JHWebClientDataAcquisition Method (String, Encoding)
使用指定的编码方式,采集指定 url 页面的 HTML 源码

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

Parameters

url
Type: SystemString
网页地址
encoding
Type: System.TextEncoding
编码方式

Return Value

Type: String
返回从指定网页中采集到的数据
See Also