I am trying to use the InfluxDB.Client library for a C#-project, that is targeting .NET framework 4.5.
Due to proprietary hardware/software I’ll have to target the old .NET framework 4.0 or 4.5, so it’s not possible to upgrade the target of the project. The program wouldn’t run correctly on the proprietary hardware that it locked on version 4.5.
I’ve found that the InfluxDB.Client library can run with .NET framework 4.6.1 (see here).
Is there a way to run this library with .NET framework 4.0 or 4.5?
If not: Is there some kind of C#-library I could use for version 4.0 or 4.5, so that I can use this to write into InfluxDB v2.0?
I want to write measurements of some sensors in the data base.
On GitHub someone gave me the hint, that I could use a client library, that has been developed for InfluxDB 1.x and just change some settings in my InfluxDB v2.0, so the API is compatible with my write requests.
The following is a list of client libraries I’ve found in GnuPacket Manager, which could fulfill my needs in terms of .NET Framework version compatibility.
Instead I chose this InfluxDB.Client library. It works with .NET Framework Version 4.5.0.
With that I managed to write data into InfluxDB using v1 compatibility layer.