C# Class mCleaner.Helpers.Win32API

Afficher le fichier Open project: MicroHealthLLC/mCleaner

Méthodes publiques

Méthode Description
FormatByteSize ( long filesize ) : string

Private Methods

Méthode 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 méthode

public static FormatByteSize ( long filesize ) : string
filesize long
Résultat string