NeatUpload Documentation

InputFile.ContentType Property

Browser-specified MIME type of the uploaded file.

public string ContentType {get;}

Remarks

ContentType is browser-specified MIME type of the uploaded file if a file was uploaded during the last postback, otherwise it is null. Note that different browsers determine the MIME type differently. They might use the file's extension, the first few bytes of the file, or something else entirely to determine the MIME type.

See Also

InputFile Class | Brettle.Web.NeatUpload Namespace