I've got a basic "wrapper" WinForms app which has a few basic controls and a WebBrowser control (System.Windows.Forms.WebBrowser). This links to a web service which does all the actual "work" of my application.
A requirement has arisen to pass some basic data between the applications. Some of this can be achieved using the DocumentCompleted/Navigated events and using the URL property to see what page was loaded, and redirect the request elsewhere.
However, I'm struggling to work out how I can pass data that is not easily encompassed in the URL.
Is there anyway to set cookies in the request, or at least access cookies from the response?
webBrowser.Document.Cookie
property.