FirmaSAT Manual

C# programming

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.

[PREV: VB.NET/VB2010+ programming...]   [Contents]   [Index]   
   [NEXT: Changes in this version...]

Copyright © 2007-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-04-08T04:07:56Z.