ForumAttachmentInfoProviderIsExtensionAllowed Method |
Returns true if file extension is allowed.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 8.2.23
Syntax public static bool IsExtensionAllowed(
string filename,
string siteName
)
Parameters
- filename
- Type: SystemString
File name with extension - siteName
- Type: SystemString
Site name
Return Value
Type:
BooleanSee Also