The documentation refers to "the following code sample" but none is forthcoming...where is this sample and exactly where does it go? Thanks, cob
Thanks for pointing out that omission, it is being fixed. in the meantime, there is a duplicate of that topic here
License your app—AppStudio for ArcGIS Desktop Edition (Beta) | ArcGIS
that does have the code sample.