In a WCF service there is a method for uploading image files:
UploadImage(Stream imageData);
Edit - as the answers suggest, the next line is wrong, and it's possible!
As Stream is being used, no other parameters are allowed for this method, but are needed.
I understand there are some open source projects which can handle multi-part stream in which I can pass more params, but was thinking request headers might be a simpler solution.
So I'm wondering what might be the downside of using the "request headers" approach in this case?
Thanks!