| FileHelperCheckExtension Method  | 
            Checks if the extension is within the given list of allowed extensions.
            
 
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntaxpublic static bool CheckExtension(
	string extension,
	string allowedExtensions
)
Parameters
- extension
 - Type: SystemString
Extension to check - allowedExtensions
 - Type: SystemString
List of allowed extensions separated by semicolon, e.g. "jpg;png" 
Return Value
Type: 
Boolean
See Also