ForumAttachmentInfoProviderIsExtensionAllowed Method |
Returns true if file extension is allowed.
Namespace: CMS.ForumsAssembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
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