C# project with .NET DLL recreate in Xojo

Hi, I got a c# project in which I read data from an Rgb LaserSystems Qmini spectrometer. I would like to recreate the same project in Xojo. Can someone help me out?
My short-term goal is to open the connection between the device and my pc on usb com port. Read and store some data.

The zip contains the c# project and the dll.
https://www.dropbox.com/s/4f3jqzmhrrk30kk/sm.zip?dl=0

Any help would be highly appreciated,
Roland M.

How can i use this .NET DLL in my xojo project? It has some classes and methods (spectrometer, searchdevices() and open() device, getData() etc. )

DLL file: https://www.dropbox.com/s/ugjz7t1z6n2otmw/RgbDriverKit.dll?dl=0

if it’s an usb that in fact has a serial communication, then you can use the xojo “Serial” class
if it’s an HID usb link, then you need plugins like the MBS

I don’t know for the dll direct use. may be with declares but I’m not sure.

[quote=275077:@Roland Maszlag]How can i use this .NET DLL in my xojo project? It has some classes and methods (spectrometer, searchdevices() and open() device, getData() etc. )

DLL file: https://www.dropbox.com/s/ugjz7t1z6n2otmw/RgbDriverKit.dll?dl=0[/quote]

I have done that a while ago with a DLL created in VB. NET. See
https://forum.xojo.com/15785-accessing-net-code-from-xojo-c-custom-dll/0

Thank you, I will try your suggestions.