For any other developers who find this post, I also built a minimalistic .NET 6.0 C# wrapper around the NI-DAQmx driver. (The dll is actually named 'nicaiu.dll'.)
I only needed it to open and close some relays, so that is all I implemented. Feel free to expand it with the functions you need. The readme provides some assistance.
NI-DAQmx driver for C#
https://github.com/jrdnwrth/NetDAQmx