ContentType.isUnknown

Checks if the content type is the generic "unknown" type. On UNIX this is the "application/octet-stream" mimetype, while on win32 it is "*".

class ContentType
static
int
isUnknown
(
string type
)

Parameters

type string

a content type string

Return Value

Type: int

TRUE if the type is the unknown type.

Meta