OPCFoundation.NetStandard.Opc.Ua.Core 2.0.0-preview.2

Prefix Reserved
This is a prerelease version of OPCFoundation.NetStandard.Opc.Ua.Core.
dotnet add package OPCFoundation.NetStandard.Opc.Ua.Core --version 2.0.0-preview.2
                    
NuGet\Install-Package OPCFoundation.NetStandard.Opc.Ua.Core -Version 2.0.0-preview.2
                    
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="OPCFoundation.NetStandard.Opc.Ua.Core" Version="2.0.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OPCFoundation.NetStandard.Opc.Ua.Core" Version="2.0.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua.Core" />
                    
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 OPCFoundation.NetStandard.Opc.Ua.Core --version 2.0.0-preview.2
                    
#r "nuget: OPCFoundation.NetStandard.Opc.Ua.Core, 2.0.0-preview.2"
                    
#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 OPCFoundation.NetStandard.Opc.Ua.Core@2.0.0-preview.2
                    
#: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=OPCFoundation.NetStandard.Opc.Ua.Core&version=2.0.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=OPCFoundation.NetStandard.Opc.Ua.Core&version=2.0.0-preview.2&prerelease
                    
Install as a Cake Tool

OPC UA .NET Standard — Core

OPCFoundation.NetStandard.Opc.Ua.Core is the foundation library of the OPC UA .NET Standard stack. It contains the wire-level UASC channel implementation, the opc.tcp:// raw-socket listener and channel, the core service contracts, the encoders (binary / XML / JSON), the certificate validation primitives, and the dependency-injection entry point used by every other package in the stack.

Overview

Most consumers do not reference Opc.Ua.Core directly — it flows in transitively from Opc.Ua.Server, Opc.Ua.Client, Opc.Ua.Configuration, or one of the binding packages. Reference it directly when you need:

  • Custom transport authors (IMessageSocket, ITransportListener, ITransportChannel, and the TransportBindings registry).
  • Direct UASC channel use (UaSCUaBinaryChannel, TcpServerChannel, TcpTransportChannel).
  • Encoding / decoding without a full server or client (BinaryEncoder, BinaryDecoder, JsonEncoder, XmlDecoder).
  • The fluent DI surface (services.AddOpcUa()).

Getting started

using Microsoft.Extensions.DependencyInjection;
using Opc.Ua;

IServiceCollection services = new ServiceCollection();
// The raw-socket opc.tcp:// binding is built in and resolved
// automatically - no extra transport registration call is required.
services.AddOpcUa();

Target frameworks

net472, net48, netstandard2.1, net8.0, net9.0, net10.0.

Additional documentation

See the main repository README and the documentation folder for the full design guide, transport profiles, certificate management, and the migration guide from 1.5.378.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net472 is compatible.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (43)

Showing the top 5 NuGet packages that depend on OPCFoundation.NetStandard.Opc.Ua.Core:

Package Downloads
OPCFoundation.NetStandard.Opc.Ua.Configuration

OPC UA Configuration Class Library

OPCFoundation.NetStandard.Opc.Ua.Client

OPC UA Client Class Library

OPCFoundation.NetStandard.Opc.Ua

This package contains the OPC UA reference implementation and is targeting the .NET Standard Library.

OPCFoundation.NetStandard.Opc.Ua.Server

OPC UA Server Class Library

OPCFoundation.NetStandard.Opc.Ua.Gds.Client.Common

OPC UA GDS Client Class Library

GitHub repositories (6)

Showing the top 6 popular GitHub repositories that depend on OPCFoundation.NetStandard.Opc.Ua.Core:

Repository Stars
dathlin/OpcUaHelper
一个通用的opc ua客户端类库,基于.net 4.6.1创建,基于官方opc ua基金会跨平台库创建,封装了节点读写,批量节点读写,引用读取,特性读取,历史数据读取,方法调用,节点订阅,批量订阅等操作。还提供了一个节点浏览器工具。
Azure/Industrial-IoT
Azure Industrial IoT Platform
OPCFoundation/UA-.NETStandard-Samples
Azure-Samples/iot-edge-opc-plc
Sample OPC UA server with nodes that generate random and increasing data, anomalies and much more ...
feng4887/TopoData
TopoData is a C# application, provides PLC/DCS data acquisition , storage and python script capabilities , along with HTTP WebAPI、Mqtt interfaces for data read/write interfaces. Provides flexible recipe definition functionality, allowing users to select different recipes and download parameters to PLCs or devices.
OPCFoundation/UA-ModelCompiler
ModelCompiler converts XML files into C# and ANSI C
Version Downloads Last Updated
2.0.0-preview.2 43 8/24/2026
1.5.378.156 56,771 7/10/2026
1.5.378.152 25,817 6/25/2026
1.5.378.145 86,809 5/21/2026
1.5.378.134 113,827 3/26/2026
1.5.378.106 165,652 1/28/2026 1.5.378.106 is deprecated because it is no longer maintained.
1.5.378.65 65,258 12/18/2025 1.5.378.65 is deprecated because it is no longer maintained.
1.5.378.10-preview 1,629 11/18/2025 1.5.378.10-preview is deprecated because it is no longer maintained.
1.5.377.22 186,134 11/14/2025 1.5.377.22 is deprecated because it is no longer maintained.
1.5.377.21 206,257 9/22/2025 1.5.377.21 is deprecated because it is no longer maintained.
1.5.377.11-preview 1,435 9/4/2025 1.5.377.11-preview is deprecated because it is no longer maintained.
1.5.376.244 158,996 7/31/2025 1.5.376.244 is deprecated because it is no longer maintained.
1.5.376.235 119,941 6/26/2025 1.5.376.235 is deprecated because it is no longer maintained.
1.5.376.213 183,200 4/23/2025 1.5.376.213 is deprecated because it is no longer maintained.
1.5.375.457 338,280 2/26/2025 1.5.375.457 is deprecated because it is no longer maintained.
1.5.375.443 157,003 1/31/2025 1.5.375.443 is deprecated because it is no longer maintained.
1.5.374.176 30,310 2/13/2025 1.5.374.176 is deprecated because it is no longer maintained.
1.5.374.168 158,039 1/24/2025 1.5.374.168 is deprecated because it is no longer maintained.
1.5.374.158 276,606 12/4/2024 1.5.374.158 is deprecated because it is no longer maintained.
Loading failed