FilesSizeToString Method

Converts the length in bytes of the file to text.

Definition

Namespace: Aliquo.Core
Assembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
C#
public static string SizeToString(
	long size,
	bool multipleFileSizes = false
)

Parameters

size  Int64
The size of the file in bytes.
multipleFileSizes  Boolean  (Optional)
to convert the size to different units (KB, MB, GB); otherwise, .

Return Value

String
String with the size of the file as a formatted.

See Also