2 Replies - 412 Views - Last Post: 29 December 2012 - 09:41 AM Rate Topic: -----

#1 dcsamc  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 28-November 12

Sending URL from Winform

Posted 28 December 2012 - 10:15 PM

Here is want I'm looking to do. I'm going to build a winform in which you can select different variables. From this it builds a url and pushes it to the web. If possible, I do not want the browser popup and display anything. I can handle pretty much all of it minus the pushing to the web. Would this be considered a POST request? I have yet to deal with this before. If someone could tell me if this is the right direction or not. Thanks.
Is This A Good Question/Topic? 0
  • +

Replies To: Sending URL from Winform

#2 lucky3  Icon User is offline

  • Friend lucky3 As IHelpable
  • member icon

Reputation: 231
  • View blog
  • Posts: 767
  • Joined: 19-October 11

Re: Sending URL from Winform

Posted 29 December 2012 - 12:39 AM

You'll probably need WebRequest class for what you intent, if I understood you correctly.
Was This Post Helpful? 1
  • +
  • -

#3 trevster344  Icon User is offline

  • The Peasant
  • member icon

Reputation: 224
  • View blog
  • Posts: 1,507
  • Joined: 16-March 11

Re: Sending URL from Winform

Posted 29 December 2012 - 09:41 AM

That would be considered a post request, yes.

Do make sure you are encoding and decoding your url using HttpServerUtility.UrlEncode, and HttpServerUtility.UrlDecode. If you find difficulty accessing this class you may have to reference it, or import it's namespace System.Web.HttpServerUtility.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1