类库说明文档
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