FilesSizeToString Method
Converts the length in bytes of the file to text.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string SizeToString(
long size,
bool multipleFileSizes = false
)
Public Shared Function SizeToString (
size As Long,
Optional multipleFileSizes As Boolean = false
) As String
- size Int64
- The size of the file in bytes.
- multipleFileSizes Boolean (Optional)
- to convert the size to different units (KB, MB, GB); otherwise, .
StringString with the size of the file as a formatted.