FileSizeText
Static class in Oadm.Sdk.Client · Oadm.Sdk.Client.dll
The file size text of plugins built before SDK 0.12.0; kept so that they keep loading. Use ByteSize.Text: this is the same text.
public static class FileSizeTextMethods
Section titled “Methods”Format
Section titled “Format”static string Format(long bytes)A file size for people: “512 bytes”, “412 KB”, “87.0 MB”, “2.1 GB” (ByteSize.Text).