如何将一个URl的内容复制到其他URl [英] how to copy the content of one URl to other URl
本文介绍了如何将一个URl的内容复制到其他URl的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
i希望在按钮点击事件中通过c#.net将一个URl的内容复制到其他URL ..
hi
i want to copy the content of one URl to other URL through c#.net on button click event..
推荐答案
如果要提取任何URL的内容,则必须使用 WebRequest 和 WebResponse 类。
If you want to extract the content of any URL, then you have to use WebRequest and WebResponse class.
Uri uri1 = new Uri("http://www.codeproject.com");
Uri uri2 = uri1;
这篇关于如何将一个URl的内容复制到其他URl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文