Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

How to sign C# dll to use in NX 9?

Hi,
I've developed a dll file for NX 9 through C#. However, I should sign the library that NX 9 can use my dll. I've searched at UGS_NX9\UGOPEN\ and found just "signcpp.exe", "signJar.bat" and "Sign.Jar" and I couldn't find an utility like "signCSharp.exe".
I signed C++ dll's for NX 7.5 by NXSign.exe before, however I would like to use C# libraries now.
How to sign C# dll in order to use in NX 9, guys?

4 REPLIES

Re: How to sign C# dll to use in NX 9?

I haven't signed .net dll's in years, but it is described in the documentation:

Home>NX Open>NX Open Programmer's Guide>License Checking

W10 NX11.0.1

Re: How to sign C# dll to use in NX 9?

Depending on the NX release, you have either %UGII_ROOT_DIR%\SignLibrary.exe or %UGII_ROOT_DIR%\SignDotNet.exe

 

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community
Solution
Solution
Accepted by topic author StepUp
‎08-26-2015 04:32 AM

Re: How to sign C# dll to use in NX 9?

Hi,

Use SignDotNet.Exe avaiable in "C:\Program Files\Siemens\NX 9.0\UGII" usual in case of default installaiton with OS being in C drive.

OR %UGII_ROOT_DIR%\SignDotNet.exe as mentioned by Stefan.

I did tried with it and it got signed.
However signing is not mandatory as mentioned by DJS.

i assume we will develop using dotnet.
Windows 7 x64
NX 8.5, NX 9.0. And also NX 7.5
Visual Studio 2010 SP1, 2012 Update 4

Re: How to sign C# dll to use in NX 9?

Signing is needed to execute the DLL without a NXOpen author license, so if you have users with rare access to the license server, they will not be able to run your DLL.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community