contentTypeCanBeExecutable

fnbool contentTypeCanBeExecutable(string type)

Checks if a content type can be executable. Note that for instance things like text files can be executables (i.e. scripts and batch files).

Parameters

typea content type string

Returns

true if the file type corresponds to a type that

can be executable, false otherwise.