Hi,
I'm trying my best to find a solution to this:
I need the controller to check if the uploaded file is a valid image (not just extention or contenttype) I need it to validate that it is an image.
The problem that solutions that I found such as this:
try { using (var bitmap = new System.Drawing.Bitmap(myFile.InputStream)) { } } catch (Exception) { return false; }
are not applicable in Core as Drawing class is not available.
Thanks a lot