Problem with trial License CadLib6.0
![]() 6/1/2023 11:47 AM
|
---|
I’m currently using WW.Cad_Net6.0 so I grabbed a license for CadLib6.0Pro since it seemed to be the right one. However, when I try to initialize it in my project I get the following error : System.Exception : 'Could not find calling assembly signed with the licensed strong name key (key token "my key token there"), cannot verify License.' I’ve already verified that the strong key I’ve given is the right one. What could potentially be the problem ? Thanks in advance. |
![]() 6/1/2023 11:54 AM
|
---|
Hi, I can't tell just from this message. It can be that you forgot to sign the appropriate assembly (probably not from what I'm guessing from your message). Possibly you build in release mode, and sometimes methods get inlined, and the signed assembly doesn't appear in the stack trace. In this case you can mark the method to not be inlined with a [MethodImpl(MethodImplOptions.NoInlining)] attribute. Other than that, can you zip your project (without the binaries) and e-mail it to wout@woutware.com? - Wout |
![]() 6/1/2023 1:49 PM
|
---|
Thanks for the reply. I managed to correct this problem but now I'm blocked by my proxy : error is the following : 'The proxy tunnel request to proxy 'http://proxy.axondmn2.local:3129/' failed with status code '407'."' For what reason is the SetLicense() method trying to access internet ? And is it possible to avoid this ? |
![]() 6/1/2023 1:58 PM
|
---|
Hi, It's contacting this server to check if the trial period isn't expired yet. It's not possible to avoid this. The production version doesn't contact this server by the way. - Wout |
![]() 6/2/2023 6:10 AM
|
---|
Hi, Would there be any ways to pass the proxy credentials in addition to the license so that the request doesn't get blocked by the proxy ? |
![]() 6/14/2023 6:08 AM
|
---|
I'm coming back to you to know if there was any news concerning whether or not it's possible to pass credentials to the proxy so that it doesn't reject the request. |
![]() 6/19/2023 12:14 PM
|
---|
Hi, Sorry for the delay. I just had a quick look at the HttpClient documentation, and it looks like you should be able to set property HttpClient.DefaultProxy. - Wout |