10-19-2015
06:19 AM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
10-19-2015
06:19 AM
Hi Dean Saadallah,
Thanks for the prompt reply ![]()
As I mentioned, I wanted to find out if the file type is supported or not in C#.
For example, if user tries to insert/import a bmp file, I want to check if that type of file can be imported or not.
Currently we are maintaining the supported file formats as a hard coded string in the code. We want to get rid of that.
string SupportedImageExtPatterns = "^(.BMP|.GIF|.PNG|.JPE?G)$";
Any suggestion towards this is a great help.
Will be waiting for your reply.
Regards,
Hemaraju