License Activation

Top  Previous  Next

By default, TN Bridge Host Integration Pack for .NET searchs for the license keys in the same folder where Cybele.TNBridge.dll is located, and in the Windows directory.

 

If there is no license present in these folders, TNBHIP.NET starts in DEMO Mode. That means that telnet connections won't last more than 2 minutes.

 

To activate your copy for trial testing, register for free in our website to obtain a 30-day trial key.

 

You will receive a file called Cybele.TNBridge.Trial.xml, which is used to activate TNBHIP.NET for design and runtime for a limited period of time. Place it in any of the two folders mentioned before so you can evaluate all the functionallity of our component suite.

 

After evaluation, when you purchase a registered copy of TN Bridge Host Integration Pack for .NET, you will receive two separated activation keys:

 

Cybele.TNBridge.Design.xml

This is used to activate TNBHIP.NET for design-time and debug-time.
It needs to be present in the developer/s machine/s.
As any other activation key, it should be placed in any of the two folders mentioned before.

 

Cybele.TNBridge.Runtime.xml

This is used to activate TNBHIP.NET for run-time.
It needs to be present in the machine/s which run the application or web service using TNBHIP.NET.
As any other activation key, it should be placed in any of the two folders mentioned before.

 

There is an optional way to set the runtime key: by code. When runtime activating your copy by code, remember to call any of the two following static methods before interacting with our components.

 

Cybele.TNBridge.License.SetRuntimeKey(string xml)

This method receives the Cybele.TNBridge.Runtime.xml content as a string parameter.

C# Example:

 Cybele.TNBridge.License.SetRuntimeKeyFromFile(@"C:\dir\subdir\Cybele.TNBridge.Runtime.xml");

 

Cybele.TNBridge.License.SetRuntimeKeyFromFile(string xmlfile)

This method receives the Cybele.TNBridge.Runtime.xml specific location (instead of those by default) as a string parameter.

C# Example:

 Cybele.TNBridge.License.SetRuntimeKey("<License Type=\"RUNTIME\" Serial=\"TNBN-RT35-XXXX-XXXXXX-XXXXXX\">"+

 "<User Name=\"Your Name\" Company=\"Your Company, Inc.\" Email=\"user@server.com\" />"+

 "<Period First=\"\" Last=\"\" />"+

 "<Version Low=\"3.5\" High=\"3.5\" />"+

 "<Limitations Users=\"1\" Connections=\"100\" />"+

 "<Signature xmlns=\"http://www.w3.org/2000/09/xmldsig#\">"+

 "  <SignedInfo>"+

 "    <CanonicalizationMethod Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\" />"+

 "    <SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\" />"+

 "    <Reference URI=\"\">" +

 "      <Transforms>"+

 "        <Transform Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\" />"+

 "      </Transforms>"+

 "      <DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\" />"+

 "      <DigestValue>xXxXxXxXxXxXxXxXxXxXxXxXxXxX</DigestValue>"+

 "    </Reference>"+

 "  </SignedInfo>"+

 "  <SignatureValue>xXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX</SignatureValue>"+

 "</Signature>"+

 "</License>");