\NetefxValidatorLibraryFile
LibraryFunctions for Files for NetefxValidator
Synopsis
class NetefxValidatorLibraryFile
{
- // methods
- public static void check_mime_types()
- public static void check_file_exists()
- public static void check_file_size()
- public static void check_image_size()
Methods
public
- check_file_exists() — check if file for an upload exists (for required uploads)
- check_file_size() — check if file has correct size (0 for unlimited values)
- check_image_size() — check if image has correct width and height (0 for unlimited values)
- check_mime_types() — check for allowed mime types for an upload (if exists)