CacheHelperCacheImageAllowed Method |
Checks if the file attachment is below the maximum file size used for caching.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static bool CacheImageAllowed(
string siteName,
int filesize
)
Parameters
- siteName
- Type: SystemString
Site name - filesize
- Type: SystemInt32
File size in bytes
Return Value
Type:
BooleanSee Also