Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27184

MultiPart data post

$
0
0
Hello,

First I very new to programming so don't be mad if I ask some stupid question. Before posting here I googled for few hours win no luck.

My question:

I need to send httpwebrequest to server with multipart data that looks somthing like this:

Code:

Content-Disposition: form-data; name="toUserID"

273016839
-----------------------------91241492912652
Content-Disposition: form-data; name="toUsername"

wiked19
-----------------------------91241492912652
Content-Disposition: form-data; name="hdnSubject"

RE%3a+Your+gorgeous+xx
-----------------------------91241492912652
Content-Disposition: form-data; name="hdnInboxID"

1328367822
-----------------------------91241492912652
Content-Disposition: form-data; name="hdnThreadID"

1328367822
-----------------------------91241492912652
Content-Disposition: form-data; name="hdnReplyToInboxID"

0
-----------------------------91241492912652
Content-Disposition: form-data; name="hdnFromUserID"

273016839
-----------------------------91241492912652
Content-Disposition: form-data; name="hdnFromProfile"


-----------------------------91241492912652
Content-Disposition: form-data; name="hdnWink"


-----------------------------91241492912652
Content-Disposition: form-data; name="hdnCfid"


-----------------------------91241492912652
Content-Disposition: form-data; name="hdnCvpn"

I found that there is very good class writen in C#

MultipartForm.cs

But not in Vb.net and I'm pritty sure there is an easy answer how to do this in vb.net but I really didin't found it..

Maybe you know a class in vb.net that would work same as this ? or could you point me to tutorial wich shows clearly ( for noob ) how to do this task.

Thank you.
Attached Files

Viewing all articles
Browse latest Browse all 27184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>