Remote access to mobile databases
Home | Products | Buy | Support | Downloads | Contacts | Forum | Blog Search

open all | close all

Using the DesktopSqlCe License object

Manual | Knowledge Base | Download | Buy | License | Forum | FAQ

After purchasing a DesktopSqlCe license you need to integrate the provided information in your application so that it works after the 90 day trial period. The process of entering this license information involves two steps:

  1. Creating an instance of the Primeworks.DesktopSqlCe.License class using the license information.
  2. Assigning the created object to either a Pipe object or to a SqlCeConnection object.

These two steps are absolutely required: creating the License object only does not enable the licensing information. Assigning the License object is quite simple:

  • Pipe - The Pipe class accepts a License object either as a constructor parameter or through direct assignment through the License property.
  • SqlCeConnection - Assign through the License property.

You can create a global License variable and assign it whenever needed. If the license information is not set, the code will work on trial mode and will refuse to make remote connections after a 90 day period.

Support / Knowledge Base / DesktopSqlCe / Using the DesktopSqlCe License object