NetServerGetInfo or Net32ServerGetInfo

The NetServerGetInfo API retrieves information about a particular server.