How to communicate with explorer?

O

ofiras

Hello everyone,
Is there a way to open explorer in a cretin page, write in a cretin
column that is in this page and press the send button with a C#
program?
I want to let the program check my web site for security issues (Sql
inject)...
I don't mind if there is a way to do it without explorer...
In addition, I need to check after I send the form what page it led me
to.
Please help,
Ofir.
 
N

Nicholas Paldino [.NET/C# MVP]

Ofir,

Once you have the page loaded in the WebBrowser control, you will access
the Document property to access the various elements of the HTML form,
populate them, and then submit them (the object that represents the form
element should have a submit button) to the server, and get the response.
 
O

ofiras

You mean I do it by hand?
I wanted it to be automatic, so I will be able to do a lot in short
time.
Ofir.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top