Remarks
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 before being notified about servers availability through the CallbackForRecordersEvents delegate having the nEvent parameter set to EV_REC_CDDB_SERVERS_AVAIL.
See the How to get Audio CD info using CDDB servers tutorial for further details.
Syntax
[Visual Basic]
Public Function CddbGetServerName (
nServerIndex as integer
) as String
|
|
[C#]
public string CddbGetServerName (
short nServerIndex
);
|
|
[C++]
public: string CddbGetServerName (
short nServerIndex
);
|
|
Parameter
|
Description
|
|
|
nServerIndex
|
Number representing the zero-based index of the CDDB server.
|
Return value
Value
|
Meaning
|
|
|
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
|
|