CFront .Net Load License File

SudheeshSudheesh Member Posts: 5
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

  • krikikriki Member, Moderator Posts: 9,110
    [Topic moved from 'NAV 2009' forum to 'NAV/Navision' forum]
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.