Json Language/culture within C# API

General Information

  • Product: Ensenso-C
  • Ensenso SDK Version: 3.6.1621
  • Operating System: Windows

Problem / Question

By executing this piece of C# code:

var cameras = new NxLibItem(NxLib.itmCameras);
var json = cameras[0].AsJson();

The value of json is starting with:

I assume this is Chinese, but I would like to have it in English. What do I have to change in my code?

Kind regards,



this is a known issue in the .NET interface. It will be fixed in the next version. In the meantime you can apply the workaround from this post to your copy of the code: Trouble getting started with NxLib and Ensenso SDK, Assigning Cam Parameters - #9 by benthie

@daniel.saier thank you! This solved my issue