Click or drag to resize
ForumAttachmentInfoProviderIsExtensionAllowed Method
Returns true if file extension is allowed.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 12.0.0
Syntax
C#
public static bool IsExtensionAllowed(
	string filename,
	string siteName
)

Parameters

filename
Type: SystemString
File name with extension
siteName
Type: SystemString
Site name

Return Value

Type: Boolean
See Also