C# Class BExplorer.Shell.Interop.ShlWapi

Show file Open project: Gainedge/BetterExplorer Class Usage Examples

Public Methods

Method Description
StrFormatByteSize ( long filesize ) : string

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.

Private Methods

Method Description
StrCmpLogicalW ( string psz1, string psz2 ) : int
StrFormatByteSize ( long fileSize, [ buffer, int bufferSize ) : long
StrRetToBuf ( STRRET &pstr, IntPtr pidl, StringBuilder pszBuf, UInt32 cchBuf ) : Int32

Method Details

StrFormatByteSize() public static method

Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.
public static StrFormatByteSize ( long filesize ) : string
filesize long The numeric value to be converted.
return string