Iec61850.Session 0.1.0-rc.7

This is a prerelease version of Iec61850.Session.
dotnet add package Iec61850.Session --version 0.1.0-rc.7
                    
NuGet\Install-Package Iec61850.Session -Version 0.1.0-rc.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Iec61850.Session" Version="0.1.0-rc.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Iec61850.Session" Version="0.1.0-rc.7" />
                    
Directory.Packages.props
<PackageReference Include="Iec61850.Session" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Iec61850.Session --version 0.1.0-rc.7
                    
#r "nuget: Iec61850.Session, 0.1.0-rc.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Iec61850.Session@0.1.0-rc.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Iec61850.Session&version=0.1.0-rc.7&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Iec61850.Session&version=0.1.0-rc.7&prerelease
                    
Install as a Cake Tool

Iec61850.Session

The OSI session layer used by IEC 61850 MMS, profiled from ISO 8326/8327 to the kernel and duplex functional units required by the stack.

This is an advanced protocol-layer package. Application developers should normally install Iec61850.Client or Iec61850.Server.

Capabilities

  • Encodes and parses CONNECT, ACCEPT, REFUSE, DATA TRANSFER, FINISH, DISCONNECT, and ABORT session SPDUs.
  • SessionConnection manages the session lifecycle over a COTP connection.
  • SessionConnectionOptions configures selectors and negotiation behavior.
  • SpduCodec exposes the session-specific SPDU and parameter encoding.
  • Typed events and exceptions surface peer release, refusal, and protocol failures.

Session PDUs use their own SPDU encoding; this package intentionally does not depend on ASN.1 BER.

Package relationships

Direct dependency: Iec61850.Transport.

Direct consumer: Iec61850.Presentation.

Status and support

This prerelease targets .NET 10 and implements the MMS/IEC 61850 session profile rather than every optional OSI session facility.

Source and documentation · Conformance scope · Apache-2.0 license

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Iec61850.Session:

Package Downloads
Iec61850.Presentation

Minimal ISO 8823 presentation layer: context negotiation (fixed ACSE/MMS abstract syntaxes) and BER transfer syntax selection. Profiled down to what MMS/61850 actually uses rather than a general-purpose OSI presentation stack.

Iec61850.Client

Client / master runtime: association management, service invocation API, report subscription, control sequencing (select-before-operate), reconnection/retry logic. Optionally validates a live discovered model (via GetDirectory/GetDataDirectory) against an SCL-provided expected/offline model (Iec61850.Scl) for configuration-drift detection.

Iec61850.Server

Server / IED runtime: association handling, data model hosting, report generation and buffering, control handling, and the hooks the Simulator app uses to drive scenarios. Security-relevant from the start: role/authorization policy for writes/controls/files, connection/request-rate/PDU-size/nesting limits, resource-exhaustion resistance, audit records for control operations. Owns crash/restart recovery policy: which state survives a process restart (buffered reports/EntryIDs, dynamic datasets if supported, file-transfer partial state, configuration/certificate state) versus which does not (control state is normally not resumed blindly) -- see docs/roadmap.md Phase 7.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-rc.7 150 8/28/2026
0.1.0-rc.6 128 8/25/2026
0.1.0-rc.5 144 8/25/2026

Third public prerelease candidate. Implements GetServerDirectory/domain discovery end to end, including SCL-seeded logical devices and continueAfter handling. Corrects MMS BER interoperability found during a live IEDExplorer session: standard Identify/GetNameList/GetVariableAccessAttributes/Read and named-variable-list shapes, service tags, recursive TypeSpecification and structured FC reads, dataset attributes, service advertisement, and separation of BER envelope depth from negotiated MMS data nesting. Adds literal IEDExplorer-shaped regression vectors, server-boundary tests, and fuzz seeds. Live IEDExplorer discovery, initialization, reads, and cyclic polling were verified against the built-in simulator. Setting Group Control, Substitution, and SetFile upload are explicitly excluded from the v1 scope.