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
                    
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="MTConnect.NET-Common" Version="7.2.0.105" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MTConnect.NET-Common" Version="7.2.0.105" />
                    
Directory.Packages.props
<PackageReference Include="MTConnect.NET-Common" />
                    
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 MTConnect.NET-Common --version 7.2.0.105
                    
#r "nuget: MTConnect.NET-Common, 7.2.0.105"
                    
#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 MTConnect.NET-Common@7.2.0.105
                    
#: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=MTConnect.NET-Common&version=7.2.0.105
                    
Install as a Cake Addin
#tool nuget:?package=MTConnect.NET-Common&version=7.2.0.105
                    
Install as a Cake Tool

MTConnect.NET Logo

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 MTConnectAgent class (Devices, Observations, and Assets) and the MTConnectAgentBroker class (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 IMTConnectAdapter interface and MTConnectAdapter class 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
Loading failed