看你是通过什么方式来访问你的机器?
通过http还是什么
通过http还是什么
解决方案 »
- UltraWebGrid怎么实现鼠标放上去整行变色
- 窗体上传文件问题
- 我做的asp.net网站想在iis中浏览,提示数据库路径错误!
- 请教修改WebBrowser中的User-Agent的方法
- 用[ ]括起来的代码是什么意思?
- 散分:失恋,初恋刚刚结束!
- 请问splitcontainercontrol这个 控件如何分左右区域啊?
- 未处理的“System.InvalidOperationException”类型的异常出现在system.web.services.dll中。其他信息: 客户端发现响应内容类型为“text/
- 用 socket 编写的多线程下载工具
- 字段将不能置于记录中。
- 高手进入,一个关于winfrom登陆的问题
- 如何访问 TcpClient 类受保护的Active属性
\\192.168.1.11\roy\vssver.scc
---------------------------------
string remoteUri = "http://www.contoso.com/library/homepage/images/";
string fileName = "ms-banner.gif", myStringWebResource = null;
// Create a new WebClient instance.
WebClient myWebClient = new WebClient();
// Concatenate the domain with the Web resource filename.
myStringWebResource = remoteUri + fileName;
Console.WriteLine("Downloading File \"{0}\" from \"{1}\" .......\n\n", fileName, myStringWebResource);
// Download the Web resource and save it into the current filesystem folder.
myWebClient.DownloadFile(myStringWebResource,fileName);
Console.WriteLine("Successfully Downloaded File \"{0}\" from \"{1}\"", fileName, myStringWebResource);
Console.WriteLine("\nDownloaded file saved in the following file system folder:\n\t" + Application.StartupPath);