| MediaLibraryHelperIsExtensionAllowed Method  | 
            Determines whether the file with the specified extension (case insensitive) can be uploaded into library module on site specified by name.
            
 
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntaxpublic static bool IsExtensionAllowed(
	string extension,
	string siteName = ""
)
Parameters
- extension
 - Type: SystemString
File extension to check - siteName (Optional)
 - Type: SystemString
File extension to check 
Return Value
Type: 
Boolean
See Also