Last Modified October 1, 2026

DNA_InfoTag() API

DNA_InfoTag(Product_Key, Activation_code, Tag)

Parameters Description
<Product_Key>

The <Product_Key> of your DNA Product.

The <Product_Key> is emailed to you when you create a Product in the DNA Control Panel and is available under Product Configuration in the DNA Product Control Panel.

<Activation_code>

The License Code provided by the User

<Tag>

The <Info Tag> to be stored on the DNA Server, up to 512 characters.

For list of Error Codes and descriptions, see DNA Error Codes    .

Sends the <InfoTag> to the DNA Server

The <Info Tag> is a free-form Custom Field, up to 512 characters associated with the License Activation Code. Typically would be used to capture Customer Registration information.

The <Info Tag> can be viewed or downloaded from the DNA Control Panel.

If the <Custom Fields> option is enabled for this Product, then the <Info Tag> will also be stored in the CDM License File during the next DNA Server Validation or Re-activation.

 

Declarations and Examples

                      	
                        
							FUNCTION   DNA_INFOTAG(PRODUCT_KEY,ACTIVATION_CODE,TAG:PANSICHAR):INTEGER; STDCALL;
                  		
                  
                      
                        
                        DECLARE FUNCTION DNA_INFOTAG LIB "DNA.DLL" (BYVAL PRODUCT_KEY AS STRING, BYVAL ACTIVATION_CODE AS STRING, BYVAL TAG AS STRING) AS INTEGER
                      
                  
                      
                        
                        INT __STDCALL DNA_INFOTAG(CHAR *PRODUCT_KEY,CHAR *ACTIVATION_CODE,CHAR *TAG);
                      
                  
                      
                        
                        INT __STDCALL DNA_INFOTAG(CHAR *PRODUCT_KEY,CHAR *ACTIVATION_CODE,CHAR *TAG);
                      
                  
                      
                        
                        INT __STDCALL DNA_INFOTAG(CHAR *PRODUCT_KEY,CHAR *ACTIVATION_CODE,CHAR *TAG);
                      
                  
                      
                        
                        PUBLIC NATIVE INT DNAINFOTAG(STRING PRODUCT_KEY, STRING ACTIVATION_CODE, STRING TAG);
                      
                  
                      
                        
                        DECLARE FUNCTION DNA_INFOTAG LIB "DNA.DLL" (BYVAL PRODUCT_KEY AS STRING, BYVAL ACTIVATION_CODE AS STRING, BYVAL TAG AS STRING) AS SHORT
                      
                  
                      
                        
                        PUBLIC STATIC EXTERN INT DNA_INFOTAG(STRING PRODUCT_KEY, STRING ACTIVATION_CODE, STRING TAG);