Click or drag to resize
DataHelperGetSizeString Method (Int64, FileSizeUnitsEnum)
Returns the string for the specified file size.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string GetSizeString(
	long size,
	FileSizeUnitsEnum unit
)

Parameters

size
Type: SystemInt64
File size in bytes
unit
Type: CMS.HelpersFileSizeUnitsEnum
Unit in which you want to result

Return Value

Type: String
See Also