Public static string FormatByteSize(FileInfo fileInfo) Public static string FormatByteSize(double fileSize) / kilobytes, megabytes, or gigabytes, depending on the size. / Converts a numeric value into a string that represents the number expressed as a size value in bytes, String suf = ", bytes / Math.Pow(unit, exp), "KMGTPEZY", unitStr) static String BytesToString(long byteCount)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |