ContentType.canBeExecutable

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

struct ContentType
static
bool
canBeExecutable
(
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.