Copyright © 2005-2018 MultiMedia Soft

AmazonStoreCdInfoCreate method

Previous pageReturn to chapter overviewNext page



If the song loaded into the given player contains tag information, after having obtained the author name and the album title creates a request for obtaining information about the CD containing the song itself from the Amazon store. After this method's call it will be possible obtaining relevant information about the CD using provided methods as seen inside the How to get Audio CD info using CDDB servers and Amazon catalogue tutorial.





[Visual Basic]

Public Function AmazonStoreCdInfoCreate (

nPlayerIndex as Int16,

strAmazonDeveloperCode as String

) as enumErrorCodes



public enumErrorCodes AmazonStoreCdInfoCreate (

Int16 nPlayerIndex,

string strAmazonDeveloperCode




public: enumErrorCodes AmazonStoreCdInfoCreate (

Int16 nPlayerIndex,

string strAmazonDeveloperCode








Number representing the zero-based index of the involved player.


String representing the Amazon developer code: this string is optional but it's strongly recommended that you obtain a developer code from Amazon; visit the Amazon Web Services site for creating your own account.


IMPORTANT TOPIC: starting from May 2009 the developer code is no more enough in order to access Amazon web services; from that date the access must be performed through a combination of the existing developer code and of a new secret key which is provided by Amazon itself to each registered developer. The new secret key can be requested through the Amazon control panel by accessing your Amazon account. Once you have obtained the new secret key, you can use this parameter in order to pass both the developer code and the secret key using the following syntax:




where the existing developer code and the secret key are separated by 5 '-' (minus) characters.



Return value






enumErrorCodes.NOERROR (0)

The song file has been loaded successfully.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.