contentTypeCanBeExecutable

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).

bool
contentTypeCanBeExecutable
(
string type
)

Parameters

type string

a content type string

Return Value

Type: bool

true if the file type corresponds to a type that can be executable, false otherwise.