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

class ContentType
static
int
canBeExecutable
(
string type
)

Parameters

type string

a content type string

Return Value

Type: int

TRUE if the file type corresponds to a type that can be executable, FALSE otherwise.

Meta