Deployment Instructions
Standard (Royalty Free) Licensing
The Xamarin components are licensed through a .lic file that must be included in the Xamarin project.
In the installation directory of the product you will see the file "nsoftware.ipworks.lic". This holds your license. To include your license in your project follow these steps:
- Add "nsoftware.ipworks.lic" from the installation directory as an existing item to your project (You may right click on the project, then choose Add -> Add Files in Xamarin Studio).
- In the properties window for "nsoftware.ipworks.lic" set the Build Action to Embedded Resource.
Once the file is included, you will need to rebuild your project and deploy as normal.
Note: Activation checks are made on the developer machine only, not at runtime.
Trial Licensing
No special file or value is required for trial licensing. Trial licenses only require the use of the component's overloaded constructor that takes a Context object. At runtime the component will display a dialog informing the user a trial license is being used. If a Context object is not passed to the constructor the component will throw a licensing exception at runtime.
Android
For example, if your class extends the Activity class you may simply pass the "this" object to the constructor. For instance:
public class MyClass extends Activity { ... //Within a method later in the class component myInstance = new component(this);
iOS
For example, if your class inherits from UIViewController you may simply pass the "this" object to the constructor. For instance:
public partial class myViewController : UIViewController { component myInstance; public myViewController (IntPtr handle) : base (handle) { myInstance = new component(this); }
License Transfer
If you would like to transfer your license to another system, please complete our license transfer form. This will ensure your installations are not mistaken for license violations.
For additional information about our product activation process, please refer to our
product activation FAQ.