Indicates if the file extension is permitted by the Host Whitelist
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public bool IsAllowedExtension( string extension ) |
Visual Basic |
---|
Public Function IsAllowedExtension ( extension As String ) As Boolean |
Parameters
- extension
- Type: System..::..String
The file extension with or without preceding '.'