从Windows HTTP POST窗体应用程序C# [英] HTTP Post from Windows Forms application C#

查看:432
本文介绍了从Windows HTTP POST窗体应用程序C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要写在通过HTTP POST发送参数到一个URL,并获取回响应C#窗体应用程序。



我真的不知道在哪里启动这个,有没有可能呢?



提前加。


解决方案<谢谢/ DIV>

作为一个开始,请参阅



1 Htt​​pWebRequest类



2 - HttpWebResponse类



3 WebClient类



在MSDN



请参阅这里


I need to write a forms application in C# that sends parameters via HTTP POST to a url, and gets back the response.

I really don't realize where to start this, is it possible at all ?

Thanks in advance, Gal.

解决方案

As a start please see

1- HttpWebRequest Class

2- HttpWebResponse Class

3- WebClient Class

in MSDN

Please see Here

这篇关于从Windows HTTP POST窗体应用程序C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆