本文介绍了以编程方式使用凭据C#登录HTTPS网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,
我正在使用C#中的凭证信息访问网站。供应商网站不提供任何类型的Web服务来连接到他们的网站。我只在网站上有URL名称,端口号,用户名,密码详细信息。有这些细节我可以编写一个发布HTTPwebrequest的C#rogram吗?我可以获得一个webresponse作为回报吗?登录后我必须从可用的文件夹中下载文件。
感谢您的回复。

Hi guys,

I'm tyring to accessa  website with credential info in C#. The vendor website does not offer any sort of web service to connect to theiir website.  I only have URL name, port number, user name, password details abt the website.  with these details Can I write a C# rogram that will post a HTTPwebrequest and can I get a webresponse in return?  Agfter I login I have to download a file from the folders available.
Appreciate your responses.

推荐答案


这篇关于以编程方式使用凭据C#登录HTTPS网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 14:24