Click or drag to resize
WebDAVHelperIsCMSFileExtensionAllowed Method
Checks if specified extension is allowed.

Namespace: CMS.WebDAV
Assembly: CMS.WebDAV (in CMS.WebDAV.dll) Version: 12.0.0
Syntax
C#
public static bool IsCMSFileExtensionAllowed(
	FormFieldInfo formFieldInfo,
	string extension
)

Parameters

formFieldInfo
Type: CMS.FormEngineFormFieldInfo
Form field info
extension
Type: SystemString
File extension

Return Value

Type: Boolean
TRUE if extension is allowed
See Also