Posts Tagged ‘qsmmgr’

Undocumented WHS classes: QSMMgr

June 9, 2009

A couple of months ago I released an article about the new APIs in Windows Home Server PowerPack 2.
You can find it here

This new article describes the undocumented functions in the QSMMgr class which is located in HomeServerControls.dll.
This class is handy for retrieving all kinds of info about storage (Storage Manager).
You can find it here

The following functions are explained:
long GetAppFoldersSize()
long GetBackupSize()
Disk[] GetDisks()
string GetGlobalStatus()
long GetOperatingSystemSize()
void GetSharedFoldersSize(out long size, out long dupSize)
long GetStorageFreeSpace()
long GetStorageSize()
long GetStorageUsedSpace()
ShareConnection[] GetShareConnections()

Thanks to Sam Wood for the review. 😉