This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
No easy way to get file names in IFormFileCollection / IFormFile #499
Closed
Description
When using IFormCollection
, it is easy to get the form keys.
But when working with the IFormFileCollection
interface, there is not way to get all form names and file names (somehing like IFormCollection.Keys
/ IFormCollection.FileNames
) or at least two properties IFormFile.FileName
and IFormFile.Name
.
I have found a workaround (using ContentDispositionHeaderValue
like in the FormFileCollection
class, but it is not very fun to use.