MTConnect.NET-DeviceFinder 6.0.11-beta

This is a prerelease version of MTConnect.NET-DeviceFinder.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MTConnect.NET-DeviceFinder --version 6.0.11-beta                
NuGet\Install-Package MTConnect.NET-DeviceFinder -Version 6.0.11-beta                
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-DeviceFinder" Version="6.0.11-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MTConnect.NET-DeviceFinder --version 6.0.11-beta                
#r "nuget: MTConnect.NET-DeviceFinder, 6.0.11-beta"                
#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.
// Install MTConnect.NET-DeviceFinder as a Cake Addin
#addin nuget:?package=MTConnect.NET-DeviceFinder&version=6.0.11-beta&prerelease

// Install MTConnect.NET-DeviceFinder as a Cake Tool
#tool nuget:?package=MTConnect.NET-DeviceFinder&version=6.0.11-beta&prerelease                

MTConnect.NET Logo

DeviceFinder

Overview

The MTConnect.NET-DeviceFinder library is used to search a network to find MTConnect Devices. The MTConnectDeviceFinder class contains events for when a new MTConnect Device has been found as well as events for what IP addresses were reachable and what ports were open on those addresses.

The sequence of operations is describe below:

  • Ping IP Addresses : The IP Addresses within the specified AddressRange will be sent a Ping request. Each successful Pinged address is added a to list of reachable addresses
  • Test Ports : For each IP address that was successfully Pinged, a TCP connection is established based on the specified PortRange to test if the port is open and if there is an application listening on the port
  • Request MTConnect Probe : For each of the Ports that were found to be open in the previous test, an MTConnect Probe request is sent to attempt to connect to an MTConnect Agent. If any devices are found, each MTConnect Device is returned in a separate DeviceFound event that contains information about the MTConnect Device and the Network connection.

Usage

using MTConnect.DeviceFinder;

var finder = new MTConnectDeviceFinder();
finder.ScanInterval = 60000; // Interval in milliseconds
finder.Addresses = new AddressRange("192.168.1.0", "192.168.1.255");
finder.Ports = new PortRange(5000, 5020);

finder.PingSent += Finder_PingSent;
finder.PingReceived += Finder_PingReceived;

finder.PortOpened += Finder_PortOpened;
finder.PortClosed += Finder_PortClosed;

finder.ProbeSent += Finder_ProbeSent;
finder.ProbeError += Finder_ProbeError;
finder.ProbeSuccessful += Finder_ProbeSuccessful;
finder.DeviceFound += Finder_DeviceFound;

finder.Start();
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.5.0 73 10/21/2024
6.4.7 112 8/21/2024
6.4.6 91 8/7/2024
6.4.5 87 8/2/2024
6.4.4 93 7/16/2024
6.4.3 108 6/14/2024
6.4.2 92 6/12/2024
6.4.1 104 5/17/2024
6.4.0 100 5/14/2024
6.3.2-beta 81 5/2/2024
6.3.1-beta 102 4/24/2024
6.3.0-beta 101 4/17/2024
6.2.2-beta 105 4/5/2024
6.2.1-beta 102 4/3/2024
6.2.0-beta 102 3/27/2024
6.1.3-beta 103 3/15/2024
6.1.2-beta 104 3/15/2024
6.0.11-beta 118 2/2/2024
6.0.10-beta 99 1/26/2024
6.0.9-beta 150 12/28/2023
6.0.8-beta 92 12/27/2023
6.0.7-beta 130 12/19/2023
6.0.5-beta 121 12/14/2023
6.0.3-beta 120 12/12/2023
6.0.1-beta 135 12/7/2023
5.4.4 234 6/6/2023
5.4.3 167 5/20/2023
5.4.1 240 3/28/2023
5.4.0 231 3/20/2023
5.3.0 230 3/14/2023
5.2.0 244 3/5/2023
5.1.0 245 3/3/2023
5.0.0 279 2/3/2023
4.6.0 336 11/28/2022
4.5.0 386 10/18/2022
4.4.0 357 10/5/2022
4.3.0 406 9/20/2022