DesktopSDK 0.7 - PenData Library (C#) Documentation
ContentsIndexHome
LSDocument.AddLicense2 Method
LSDocument Class  LSDocument Members  Livescribe.DesktopSDK.AFP Namespace  LSDocument Methods
C#
public int AddLicense2(string licfilename, bool verifyandsetguid, KeyPair kp);

Adds a license to the document. The KeyPair needs to be created separately. VerifyAndSetGuid will lock the license so that it works only with this particular document. Beware that changing the document after GUID locking is impossible, since that will invalidate the license. If you are unsure whether the document will be changed in the future, set the VerifyAndSetGuid to false. Note that after the document is locked, many functions will fai--such as: AddPageTemplate, DeletePageTemplate, etc.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright © 2010 Livescribe, Inc. All rights reserved.