检查图像存在于企业内部网 [英] check if image exists on intranet
本文介绍了检查图像存在于企业内部网的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
即时通讯使用在这个问题上考试答案看看在C#图像的存在,以找出是否存在图像
Im using the answer in this question Test to see if an image exists in C# to find out if images exists.
不过我正在一个异常错误:远程服务器返回错误:(401)未经授权
However I am getting an exception with error: The remote server returned an error: (401) Unauthorized.
该图像是在我们的SharePoint Intranet上,那么,如何可以测试一下,看看如果图像存在?
The images are on our sharepoint intranet, so how can i test to see if the images do exists?
感谢
推荐答案
request.Credentials =新的NetworkCredential(用户名,密码);
这篇关于检查图像存在于企业内部网的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文