StreamConverterIsFileTypeAllowed Method |
Determines whether the file type is allowed.
Namespace: RMP.WebAssembly: RMP.Web (in RMP.Web.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static bool IsFileTypeAllowed(
string fileName,
string mimeType
)
Public Shared Function IsFileTypeAllowed (
fileName As String,
mimeType As String
) As Boolean
public:
static bool IsFileTypeAllowed(
String^ fileName,
String^ mimeType
)
static member IsFileTypeAllowed :
fileName : string *
mimeType : string -> bool
Parameters
- fileName
- Type: SystemString
Name of the file. - mimeType
- Type: SystemString
Type of the MIME.
Return Value
Type:
Booleantrue if [is file type allowed] [the specified file name]; otherwise,
false.
See Also