HI! I call a web service to get a file from a server. The web service returns me a byte[] (the file), but I don't know how to get the MIME type from it?
I know that byte[] can be anything and do know the web service returns me a file in byte[], I was just wondering if there was a API to retrieve the mime type, obviously not!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.