To use in a C# program, add a reference to the .NET Class Library file
diFirmaSatNet.dll
(usually installed in C:\Program Files (x86)\FirmaSAT
)
and add the line
using FirmaSAT;
at the top of your code. Here is a simple "Hello World" program.
using System; using FirmaSAT; class Program { static void Main() { int n = General.Version(); Console.WriteLine("Version = {0}", n); } }
Alternatively, instead of making a reference to the library DLL diFirmaSatNet.dll
, you can include the interface library C# source code
diFirmaSatNet.cs
directly in your project and avoid any need for references.