I believe the specific function you are looking for is AcceptSelfSignedCertificates(<Boolean>). The ThingWorx Edge/Connectivity Help Center has a very helpful document that will explain this function as well as the other configuration parameters that are available to the .NET SDK ClientConfigurator Class:
Hi, and thanks for your reply!
I'm using Thingworx dotNet SDK 126.96.36.199 and it doesn't seem to have such function, at least in com.thingworx.communications.client.ClientConfigurator class.
There're also quite many other functions in that documentation that it doesn't seem to have.
Thank you for the link, I'll keep looking further into it.
Thank for the hint!
I downloaded the 5.5 SDK from marketplace but now I can't seem to add neither x86 nor x64 version of twApi.dll as reference to the project.
Please make sure that the file is accessible, and that it is a valid assembly or COM component.
Tried also copying the file to another location (which absolutely was accessible) and adding from there but got the same notice.
EDIT: I'm using .NET Framework 4.5 in case that matters
EDIT 2: Tried with IL dissembler and got the error:
'C:\.......\twApi.dll' has no valid CLR header and cannot be disassembled
OK, I manually copied the tw directory inside bin/Debug and got it working.
Thanks for all your help for both of you!
I also used .NET SDK 5.5, and try to rebuild SteamSensor example. I got exact the same error --> can not add either x86 or x64 version of twApi dll as reference to the project.
I have tried to use .NET Framework 3.5 or 4.5, and the result is the same.
Can you describe in more detail regarding how to make it work in manual?