C# 远程读取服务器中的配置文件

WebClient client = new WebClient();
byte[] buffer = client.DownloadData("http://----");
string res = System.Text.ASCIIEncoding.ASCII.GetString(buffer);

 

posted @ 2020-04-29 08:54  东京花语  阅读(826)  评论(0)    收藏  举报