upload xml file to http with certificate?

J

Jonathan Wax

Hi,

I spent the last week looking for an answer to the following question:
How can you upload an xml file to an HTTPS server with a specific
certificate.
Basically doing the same as this html form in c# code:

<form method="post" enctype="multipart/form-data"
action="https://www.site.com/upload/"/>
<input type="file" name="xml" id="xml="><br>
<input type="text" name="batchid" id="batchid="><br>
<input type="text" name="schoolcode" id="schoolcode="><br><br>
<input type="submit" value="Submit">
</form>

I wanted to use the WebClient.UploadFile(filename.xml) method but I could
not find how
to do this with a specific Certificate.

Thx
J.
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top