Skip to content

What types of file are supported?

Aleksander J. Mitev edited this page Mar 10, 2020 · 1 revision

Currently FileTypeChecker can identify 22 different types of file but also you can register your own custom types if its necessary. Here is the list of all currently recognizable types:

  • JPEG
  • Bitmap
  • Portable Network Graphic
  • Graphics Interchange Format 87a
  • Graphics Interchange Format 89a
  • Tagged Image File Format
  • Portable Document Format
  • Microsoft Office Document
  • eXtensible Markup Language
  • RAR archive version 1.50
  • RAR archive version 5.00
  • Photoshop Document file
  • ZIP file
  • eXtensible ARchive format
  • TAR Archive
  • 7-Zip File Format
  • GZIP compressed file
  • DOS MZ executable
  • Executable and Linkable Format
  • Audio Video Interleave video format
  • MPEG-1 Layer 3 file
  • MP3 file with an ID3v2 container
  • ISO9660 CD/DVD image file

Register custom types

Because for every developer customization is very important we provide you with mechanism to register your own custom types. All types and the validation functionality are initialized once your app is started so to do register your out types you should use this code in configuration point of your application.

FileTypeValidator.RegisterCustomTypes(typeof(MyCustomFileType).Assembly);
Clone this wiki locally