how can I use a Request.Form() on a windows application?
I have written a HTTP server in VB.NET but I don't know how to use the Request.Form() method on a windows application. I need it to read HTML data sent开发者_StackOverflow中文版 in a HTML form. Please help me.
Assuming you have valid HttpContext, just add reference to System.Web
assembly in your project, then have such code:
Dim value As String = System.Web.HttpContext.Current.Request.Form("mykey")
精彩评论