它可以使用 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;