Skip to content

Instantly share code, notes, and snippets.

@michael-manley
Last active December 19, 2015 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-manley/5946317 to your computer and use it in GitHub Desktop.
Save michael-manley/5946317 to your computer and use it in GitHub Desktop.
<NasuTekLicensing xmlns="http://licensing.nasutek.com/licservice/license">
<Vendor Name="NASUTEK" />
<Server Host="*" />
<!---------------------------------------------------------------------------------------
- Signed Attributes Line
---------------------------------------------------------------------------------------
- The Signed Attribute Line is used by the Signer and Verifier to know what attributes
- on a Feature or Product Line are signed.
---------------------------------------------------------------------------------------
- Feature [Attribute]: An array of attribute names to be added as part of the signiture
- when signing a Feature or Increment Line
- Product [Attribute]: An array of attribute names to be added as part of the signiture
- when signing a Product Line
- IncludeServerHost [Attribute]: If True the hostnames are appended to the signature of
- all lines, False does not include this and allows self
- host restrictions or used if host restrictions are not
- required
--------------------------------------------------------------------------------------->
<SignedAttributes Product="Name|Vendor|Version|Edition"
Feature="Name|Product|Vendor|Version|ExpDate|LicCount|Notice|SN"
IncludeServerHost="True" />
<!---------------------------------------------------------------------------------------
- Product/Feature/Increment Lines
---------------------------------------------------------------------------------------
- These lines are used for licensing. All must at least have a Name, Vendor, and some
- type of identifiable per license attribute, and the Feature/Increment lines must have
- Product. The following are examples of such. Sign is automatically filed in during
- signing.
---------------------------------------------------------------------------------------
<Product Name="NasuTekDownloader" Vendor="NASUTEK" Version="1.0"
Edition="Professional Edition" Sign="" />
<Feature Name="NasuTekDownloader" Product="NasuTekDownloader" Vendor="NASUTEK"
Version="1.0" ExpDate="permanent" LicCount="uncounted" Notice="NTE Downloader"
SN="888888888888" Sign="" />
<!---------------------------------------------------------------------------------------
- String Lines
---------------------------------------------------------------------------------------
- String lines are not signed and are used just to make friendly names for the license
- manager. All lines require a Type, Key, LanguageID, and Value.
--------------------------------------------------------------------------------------->
<String Type="FeatureName" Key="NasuTekDownloader" LanguageID="en-US" Value="NasuTek Downloader" />
<String Type="ProductName" Key="NasuTekDownloader" LanguageID="en-US" Value="NasuTek Downloader" />
</NasuTekLicensing>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment