Copyright © 2005-2018 MultiMedia Soft

CddbGetServerName method

Previous pageReturn to chapter overviewNext page



Obtains the friendly name of the given CDDB server.


The total number of available CDDB servers can be requested through the CddbRequestServersList method: the method will fail if called before receiving the CddbServersListAvailable event.


See the How to get CD album information from a CDDB server tutorial for further details.





[Visual Basic]

Public Function CddbGetServerName (

nServerIndex as integer

) as String



public string CddbGetServerName (

short nServerIndex




public: string CddbGetServerName (

short nServerIndex









Number representing the zero-based index of the CDDB server.


Return value






Empty string

The value of the nCdDriveIndex parameter was out of range. Use the value returned by the GetCdDrivesCount method in order to know how many CD drive are currently installed on the system.

Valid string

The string containing the CDDB server's friendly name