Click or drag to resize
StreamConverterIsFileTypeAllowed Method
Determines whether the file type is allowed.

Namespace: RMP.Web
Assembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static bool IsFileTypeAllowed(
	string fileName,
	string mimeType
)

Parameters

fileName
Type: SystemString
Name of the file.
mimeType
Type: SystemString
Type of the MIME.

Return Value

Type: Boolean
true if [is file type allowed] [the specified file name]; otherwise, false.
See Also