首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用chilkat组件获取网站的HTML?

如何使用chilkat组件获取网站的HTML?
EN

Stack Overflow用户
提问于 2015-07-01 23:18:50
回答 1查看 402关注 0票数 0

它可以使用WebRequest,但我使用chilkat,因为它支持ssh,但我无法获取我网站的html

代码语言:javascript
复制
Chilkat.Http http = new Chilkat.Http();
bool success;
//  Any string unlocks the component for the 1st 30-days.
success = http.UnlockComponent("Anything for 30-day trial");
if (success != true) {
    Console.WriteLine(http.LastErrorText);
    return;
}
//  Send the HTTP GET and return the content in a string.
string html;
html = http.QuickGetStr("https://mmo4me.com/");
TextBox1.Text = html;
EN

回答 1

Stack Overflow用户

发布于 2015-07-02 00:27:54

您引用的网站(https://mmo4me.com)正在使用TLS1.2ECDHE/ECDSA进行哈希算法签名。

看起来Chilkat组件不支持ECDHE/ECDSA。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31165384

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档