Initializes a new instance of the FileExtensionWhiteList class.

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public FileExtensionWhitelist(
	string extensionList
)
Visual Basic
Public Sub New ( 
	extensionList As String
)

Parameters

extensionList
Type: System..::..String
a comma seperated list of file extensions with no '.'

Remarks

extensionListshould match the format used in the FileExtensions Host setting specifically it should not have an '.' in the extensions (e.g. txt,jpg,png,doc)

See Also