get_SignatureFromFile Method

WRAPPER_API const wchar_t * get_SignatureFromFile () const

 

Description

The get_SignatureFromFile method method returns the signature stored in the base data source file. The base data source is written out with a calculated signature value based on the current contents at the time it is saved. If the file is edited prior to being loaded, the signature calculated from the (edited) contents of the file will not match the value returned by this method, which is the signature saved in the file.

 

Example

void DataSource_getSignatureFromFile (GeoCalcPBW::DataSource & data)

{

AfxMessageBox(CString("Calculated Signature is is ") + CString(_tochar(data.get_SignatureFromFile()).c_str()));

}