❔ How to upload a MemoryStream as form file in a web request?

I'm trying out how to use HttpClient.PostAsync to send a Form with a file. But I want this file to be a MemoryStream and not an actual file from my files. How do I do this?
1 Reply
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.