C# /.Net Library

C#.Net Source Code Library

Our library provides robust support for Companion Standard 101 (CS101) and 104 (CS104) of the IEC standard series, essential for telecontrol applications (IEC 60870-5). Widely utilized in communication between central stations (controlling station) and outstations (controlled station) in electrical power systems.
Our C#/.NET source code library offers a swift and cost-effective implementation of IEC 60870-5-101 and IEC 60870-5-104 protocols for .NET applications. The APIs are intuitively designed for ease of use and flexibility. Compatible with .NET Framework 4, .NET 5, .NET Standard 2.0, and Mono, this library has been rigorously tested on both Windows and Linux systems, ensuring seamless integration and reliable

C# /.Net Library

Master/Slave (CS 101 – serial communication)

Usage examples code

Support for all standard message types

Client/Server (CS 104 – TCP/IP)

Compatible with latest versions of IEC 60870-5-101 and IEC 60870-5-104

TLS support for CS 104

  • Master/Slave (CS 101) and Client/Server (CS 104) implementation
  • Implements all command, monitoring, parameter, file message types
  • Available as nuget package and C# source code
  • Compatible with .NET Framework 4, .NET 5, .NET standard 2.0, and Mono
  • Comes with a lot of examples to simplify learning
  • Field proven
  • Easy to use API
  • Compatible with the latest version of IEC 60870-5-101 and IEC 60870-5-104
  • CS 101 master/slave (RS 232/485 serial communication)
  • CS 101 balanced and unbalanced mode
  • CS 104 client/server (TCP/IP)
  • CS 104 redundancy group supported
  • Support for all standard message types (M_XX, C_XX, P_XX, F_XX) for messages in monitoring direction, commands, parameter loading, file transmission.
  • Send and receive messages in standard and reverse direction
  • spontaneous transmission of events
  • periodic transmission of measurements
  • command and set point transmission (direct and select/execute)
  • Support for interrogation and counter interrogation support
  • Clock synchronization command supported
  • Support for CP24Time2a and CP56Time2a time tags
  • TLS support (secure communication according to IEC 62351)

Commercial License

For integration in commercial products a commercial license is required. With the commercial license you can develop and distribute your own closed source applications. For the commercial license there are also professional support and maintenance services available.

Open Source Version (Non Commercial Use)

Most parts of the library are available as open-source. You can use the open source version to get started, learn about the protocols and applications, and as a base for your own GPLv3 compliant open source applications.

Contact us

5 + 15 =

MZ Automation GmbH
Wentzingerstrasse 23
79106 Freiburg
+49 7681 – 20 91 980


About us

What we do



Privacy Policy

Legal Information



Wentzingerstrasse 23, 79106 Freiburg

+49 7681 – 20 91 980

Follow Us