检查内网是否存在镜像
我使用这个问题中的答案 测试看看是否C#中存在image来查找图像是否存在。
但是,我收到错误异常:远程服务器返回错误:(401) 未经授权。
这些图像位于我们的共享点 Intranet 上,那么我如何测试图像是否存在?
谢谢
Im using the answer in this question Test to see if an image exists in C# to find out if images exists.
However I am getting an exception with error: The remote server returned an error: (401) Unauthorized.
The images are on our sharepoint intranet, so how can i test to see if the images do exists?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
request.Credentials = new NetworkCredential(用户名,密码);
request.Credentials = new NetworkCredential(username, password);