Parsing “multipart/form-data” in .NET/C#

后端 未结 2 1225
小鲜肉
小鲜肉 2021-02-09 02:07

Got a .NET/C# question...

I need to parse some input post data thats in a \"multipart/form-data\" format to extract the passed username and password. Anyone know how to

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-09 02:38

    Could you not post to a regular ASP.NET page (perhaps an ashx/handler, or MVC) and just use Request.Form? This supports multi-part.

提交回复
热议问题