36Developing and Deploying VISA ProjectsProgramming with Microsoft .NET and VISAorC:\Program Files (x86)\IVI Foundation\VISA\WinNT\Lib_x64For more details, see the VISA online Help section "VISA Directories", in the Keysight VISA Help.Programming with Microsoft .NET and VISAThe IVI Foundation defines the standard visa.h header file for use in C and C++, which provides declarations for thevisa32.dll C DLL. This header file is distributed by Keysight Technologies, among others. The Foundation also definesheader file visa32.bas for Microsoft Visual Basic 6. However, there are at present no officially defined header files forprogramming with the VISA C API in the Microsoft .NET technology languages, such as C# and Visual Basic.NET.Therefore, Keysight has defined and developed the redistributable .NET header files visa32.cs (for C#) and visa32.vb(for Visual Basic.NET), to allow programmatic access to the VISA C API from the two most popular .NET languages. To usethe VISA C API in a .NET project, include the appropriate file in your project. The compiled .NET assembly will then haveall the information it needs to use the VISA C Library (visa32.dll or visa64.dll).For programmers accustomed to the VISA-C API, or those not familiar with COM, use of Keysight’s .NET header files mayoffer a preferable approach, because it avoids the overhead of the VISA COM implementation and exposes VISAfunctionality in a more familiar style.VISA has specifications for API versions in C and COM, so there are two ways to work with VISA in your .NET applications:via the wrapper already written by Keysight around the C library, or via the Visa COM Interop.Location of Header FilesThe header files visa32.cs and visa32.vb can be found in:C:\Program Files (x86)\IVI Foundation\VISA\WinNT\agvisa\includeorC:\Program Files (x86)\IVI Foundation\VISA\WinNT\includeFor more details, see the VISA online Help section "Using the VISA C API in Microsoft .NET", in the Keysight VISA Help.