Reputation: 259
How would I go about reading the json data returned by a web server in response to the ajax calls/polls from the html document inside my wpf web browser control? The connection between the client and server is secured.
Upvotes: 2
Views: 3316
Reputation: 4156
It's possible to call C# code from Javascript and vice versa i.e. call Javascript in the page from C#. Depending on your scenario you could use either of these to return the JSON string.
See this article for more information
If you don't have control over the html page i.e. you cannot change it you might have to parse the whole page, you can get the page like this
Upvotes: 1