Click or drag to resize
CacheHelperCacheImageAllowed Method
Checks if the file attachment is below the maximum file size used for caching.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool CacheImageAllowed(
	string siteName,
	int filesize
)

Parameters

siteName
Type: SystemString
Site name
filesize
Type: SystemInt32
File size in bytes

Return Value

Type: Boolean
See Also