Statistics Functions

The Windows operating system accumulates a set of operating statistics for workstations and servers from the time that the workstation or server service is started. To retrieve these statistics, you can call the following network management statistics function.

Function Description
NetStatisticsGet Retrieves operating statistics for a service; supports the workstation and server services.

 

The NetStatisticsGet function returns a STAT_WORKSTATION_0 structure when workstation statistics are requested; the function returns a STAT_SERVER_0 structure when server statistics are requested.