I was trying to study the impact of applying different licenses by writing a simple CFront .Net Code. I started with modifying the CFrontSampleApplication.
Before connecting to the Database I used the following API to load the license file
CFrontDotNet.Instance.LoadLicenseFile(connectionOptions.LicFilePath);
// Connect to the SQL Server DB.
CFrontDotNet.Instance.ConnectServerAndOpenDatabase(connectionOptions.Servername, connectionOptions.NetType, connectionOptions.DatabaseName, connectionOptions.CacheSize, connectionOptions.UseCommitCache, connectionOptions.UseAuthentication, connectionOptions.Username, connectionOptions.Password);
I would like to know whether the LoadLicenseFile API has any impact on Connect call? Or is CFront always refering to the fin.flf file in the Client Directory?
Next I wanted to use CheckLicenseFile(objectNo) to check whether for a particular object the access is allowed or denied in the License File.
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!