using (Bitmap bitmap = new Bitmap(file.InputStream, false)) { if (bitmap.Width < _MaxWidth && bitmap.Height < _MaxHeight) _ValidImageDimension = true; return ValidImageDimension; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)