Transform the size in byte to a string: bytes, kb, mb or gb
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function FormatByteToString ( _ size As Long _ ) As String |
| C# |
|---|
public static string FormatByteToString( long size ) |
Parameters
- size
- Type: System..::..Int64