它可以使用WebRequest,但我使用chilkat,因为它支持ssh,但我无法获取我网站的html
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;发布于 2015-07-02 00:27:54
您引用的网站(https://mmo4me.com)正在使用TLS1.2ECDHE/ECDSA进行哈希算法签名。
看起来Chilkat组件不支持ECDHE/ECDSA。
https://stackoverflow.com/questions/31165384
复制相似问题