WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

FileInfoExtensions..::..GetSizeInMemory Method

get the size formatted with {0:0.##} "B","KB","MB","GB","TB"

Namespace:  System.IO
Assembly:  Walter (in Walter.dll)

Syntax


[NotNullAttribute]
public static string GetSizeInMemory(
	this long bytesize
)

Parameters

bytesize
Type: Int64
the bytes

Return Value

the size in "B", "KB", "MB", "GB", "TB"