C# Class mCleaner.Helpers.Win32API

Mostra file Open project: MicroHealthLLC/mCleaner

Public Methods

Method Description
FormatByteSize ( long filesize ) : string

Private Methods

Method Description
GetPrivateProfileSection ( string lpAppName, StringBuilder lpszReturnBuffer, int nSize, string lpFileName ) : int
GetPrivateProfileString ( string lpAppName, string lpKeyName, string lpDefault, IntPtr lpReturnedString, uint nSize, string lpFileName ) : int
GetPrivateProfileString ( string section, string key, string def, StringBuilder retVal, int size, string filePath ) : int
StrFormatByteSize ( long fileSize, StringBuilder buffer, int bufferSize ) : long
WritePrivateProfileString ( string section, string key, string val, string filePath ) : long

Method Details

FormatByteSize() public static method

public static FormatByteSize ( long filesize ) : string
filesize long
return string