pbms_get_md5_digest
Description
pbms_bool pbms_get_md5_digest ( PBMS pbms ,char * md5_digest )
Gets the MD5 digest of the BLOB just downloaded by pbms_get_data(), pbms_get_data_cb(), or pbms_get_info().

The data returned is binary data, if you want the data as a 'C' string then use pbms_get_metadata_value(pbms, MS_CHECKSUM_TAG, buffer, NULL);

Parameters
pbms
A valid PBMS connection handle.
md5_digest
The buffer to receive the 16 byte MD5 digest. The data returned is binary data and not a 'C' string.
Return Values

Returns TRUE on success.

Returns FALSE on failure. Use pbms_errno() and pbms_error() to retrieve error details.

Example
	PBMS pbms;
	char md5_digest[16]; 
	  
	pbms = pbms_connect("localhost", 8080, "aDatabase");

	// Fetch the BLOB back, 'name' is a LONGBLOB column.
	mysql_query(mysql, "select name from bobtest where id = 1");
	results = mysql_store_result(mysql);
			
	record = mysql_fetch_row(result);
	
	/* Get the BLOB metadata only. */
	pbms_get_info(pbms, record[0]);
	
	pbms_get_md5_digest(pbms, md5_digest);
	
	pbms_close(pbms);
		
Related functions
pbms_get_data() pbms_get_data_cb() pbms_get_data_info() pbms_get_metadata_value()