MTConnect.NET-Common
7.2.0.105
dotnet add package MTConnect.NET-Common --version 7.2.0.105
NuGet\Install-Package MTConnect.NET-Common -Version 7.2.0.105
<PackageReference Include="MTConnect.NET-Common" Version="7.2.0.105" />
<PackageVersion Include="MTConnect.NET-Common" Version="7.2.0.105" />
<PackageReference Include="MTConnect.NET-Common" />
paket add MTConnect.NET-Common --version 7.2.0.105
#r "nuget: MTConnect.NET-Common, 7.2.0.105"
#:package MTConnect.NET-Common@7.2.0.105
#addin nuget:?package=MTConnect.NET-Common&version=7.2.0.105
#tool nuget:?package=MTConnect.NET-Common&version=7.2.0.105

MTConnect.NET-Common
This library project contains the basic classes for implementing MTConnect. It has no dependency on a transport (HTTP, MQTT, SHDR) or a document format (XML, JSON); those are provided by the other MTConnect.NET libraries.
For end-to-end documentation and concept pages, see the MTConnect.NET Docs.
Contents
- Agents : The
MTConnectAgentclass (Devices, Observations, and Assets) and theMTConnectAgentBrokerclass (adds the buffers and the MTConnect Response Documents) - Buffers : In-memory and File System backed Observation and Asset buffers
- Devices : Device, Component, Composition, and DataItem classes (including a class for each type defined in the MTConnect Standard)
- Observations and Streams : Observation classes and the MTConnectStreams Response Document
- Assets : Asset classes and the MTConnectAssets Response Document
- Clients : Interfaces that are implemented by the HTTP and MQTT clients
- Adapters : The
IMTConnectAdapterinterface andMTConnectAdapterclass that the SHDR adapters and the Adapter application are built on - Configurations : Agent and Adapter configuration classes
Usage
using MTConnect.Agents;
using MTConnect.Devices;
using MTConnect.Devices.DataItems;
using MTConnect.Observations.Events;
// Create a Device with an Availability DataItem
var device = new Device();
device.Uuid = "2f2a6b9e-7d1c-4a55-9a1e-0d5b3f6c1a01";
device.Id = "device1";
device.Name = "Device1";
var availability = new AvailabilityDataItem(device.Id);
device.AddDataItem(availability);
// Create the Agent (uses in-memory buffers by default)
var agent = new MTConnectAgentBroker();
agent.Start();
// Add the Device and an Observation
agent.AddDevice(device);
agent.AddObservation(device.Uuid, availability.Id, Availability.AVAILABLE);
// Get the MTConnect Response Documents
var devicesDocument = agent.GetDevicesResponseDocument();
var streamsDocument = agent.GetDeviceStreamsResponseDocument();
Supported Frameworks
.NET 10.0, 9.0, 8.0, 7.0, 6.0, .NET Standard 2.0, and .NET Framework 4.6.1 through 4.8
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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 | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- System.Buffers (>= 4.5.1)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
- YamlDotNet (>= 13.7.1)
-
.NETFramework 4.6.2
- System.Buffers (>= 4.5.1)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
- YamlDotNet (>= 13.7.1)
-
.NETFramework 4.7
- System.Buffers (>= 4.5.1)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
- YamlDotNet (>= 13.7.1)
-
.NETFramework 4.7.1
- System.Buffers (>= 4.5.1)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
- YamlDotNet (>= 13.7.1)
-
.NETFramework 4.7.2
- System.Buffers (>= 4.5.1)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
- YamlDotNet (>= 13.7.1)
-
.NETFramework 4.8
- System.Buffers (>= 4.5.1)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.Text.Json (>= 8.0.5)
- YamlDotNet (>= 13.7.1)
-
.NETStandard 2.0
- System.Buffers (>= 4.5.1)
- System.Text.Json (>= 8.0.5)
- YamlDotNet (>= 13.7.1)
-
net10.0
- YamlDotNet (>= 13.7.1)
-
net6.0
- YamlDotNet (>= 13.7.1)
-
net7.0
- YamlDotNet (>= 13.7.1)
-
net8.0
- YamlDotNet (>= 13.7.1)
-
net9.0
- YamlDotNet (>= 13.7.1)
NuGet packages (14)
Showing the top 5 NuGet packages that depend on MTConnect.NET-Common:
| Package | Downloads |
|---|---|
|
MTConnect.NET-HTTP
MTConnect.NET-HTTP implements the HTTP protocol for use with the MTConnect.NET library. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10 |
|
|
MTConnect.NET-XML
MTConnect.NET-XML implements the XML Document Format for use with the MTConnect.NET library. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10 |
|
|
MTConnect.NET
MTConnect.NET is a fully featured .NET library for MTConnect Agents, Adapters, and Clients. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10 |
|
|
MTConnect.NET-JSON
MTConnect.NET-JSON implements the JSON Document Format for use with the MTConnect.NET library. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10 |
|
|
MTConnect.NET-TLS
MTConnect.NET-TLS implements the TLS protocol for use with the MTConnect.NET library. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 7.2.0.105 | 959 | 11/21/2026 |
| 7.2.0.105-prerelease | 909 | 11/21/2026 |
| 7.2.0.103-prerelease | 914 | 11/20/2026 |
| 7.0.0.2-prerelease | 468 | 6/26/2026 |
| 6.9.0.2 | 8,793 | 10/16/2025 |
| 6.8.0 | 1,376 | 9/13/2025 |
| 6.7.0 | 3,483 | 6/22/2025 |
| 6.6.0 | 4,348 | 1/18/2025 |
| 6.5.1 | 1,873 | 12/3/2024 |
| 6.5.0 | 3,724 | 10/21/2024 |
| 6.4.7 | 2,061 | 8/21/2024 |
| 6.4.6 | 1,615 | 8/7/2024 |
| 6.4.5 | 1,126 | 8/2/2024 |
| 6.4.4 | 1,469 | 7/16/2024 |
| 6.4.3 | 1,525 | 6/14/2024 |
| 6.4.2 | 1,336 | 6/12/2024 |
| 6.4.1 | 1,607 | 5/17/2024 |
| 6.4.0 | 1,199 | 5/14/2024 |
| 6.3.2-beta | 1,078 | 5/2/2024 |
| 6.3.1-beta | 25,847 | 4/24/2024 |