Signing exe's with specific licence keys

Application signing is the process of validating a compiled program to use DicomObjects in association with a *.lic licence file which is specific to that executable. This .lic file is placed adjacent to the program to be executed which contains this executable specific licences for using DicomObjects or XdsObjects. This avoids any online/offline activation of DicomObjects or XdsObjects for running that program.

Two main usage of a signed exe is when an application is installed on an offline machine without Internet access and/or system that doesn’t need to have DicomObjects licence installed.

Few simple steps to Sign an exe are:

  1. Fetch a copy of our Signing tool.

    This downloaded zip contains both graphical and command line tool (useful in automated situations such as a post-build event).

  2. Your normal licence key (if you have any) is NOT valid for signing applications.  
    The format for a signing key is SK-xxxx-xxxx-xxxx , you may contact us to obtain your function specific signing key.

  3. If you’re using the command line, you type:

    ApplicationSignerConsole.exe yourExeFullName SigningLicenseKey Info1 Info2 [Expiry] 

  4. Alternatively you can use the GUI to generate licence file.

  5. Place the downloaded *.lic file next to the exe before you run it.

Note: Every new build of your assembly has to be re-signed because it won’t match the previous hash so your existing .lic file would be invalid.

ClickOnce Applications

For instructions on doing a ClickOnce deployment of your executable click here

ASP.NET applications

Signing an asp.net web application is the same process, but with some extra steps to follow.

1) Sign YourWebApplication.DLL

2) Make sure the target platform matches the IIS Application Pool’s platform (2.0 vs 2.0 or 4.0 vs 4.0)

3) Under Project Properties -> “Package/Publish Web”, select “All files in this project” option under “Items to deploy”

4) Disable shadowCopyBinAssemblies in the Web.config

<system.web>
<hostingEnvironment shadowCopyBinAssemblies="false" />


We use cookies to give you the best possible experience on our website. By continuing to use this website, you agree with our use of cookies. for more information please click HERE