Hello Yannick,
the VisaNS .NET API doesn't use the VISA C type declarations like ViSession, ViInt32, etc. Instead, it uses the corresponding .NET native types in its API, like System.Int32, System.Int16, and System.IntPtr. handles of type ViSession are typically represented by instance of Session Objects, such as GpibSession or SerialSession. In order to use VisaNS in a .NET application, you will need a reference to the NationalInstruments.VisaNS.dll and NationalInstruments.Common.dll assemblies. If you have Measurement Studio installed, the Measurement Studio Project wizards can add these references for you automatically.