MndpTray.Protocol 1.7.0

Mikrotik Neighbor Discovery Protocol - Network Discovery

There is a newer version of this package available.
See the version list below for details.
Install-Package MndpTray.Protocol -Version 1.7.0
dotnet add package MndpTray.Protocol --version 1.7.0
<PackageReference Include="MndpTray.Protocol" Version="1.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MndpTray.Protocol --version 1.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

MndpTray Build status

MNDP Mikrotik Neighbor Discovery Protocol Tray Application

Functions:

  • Periodic sends Windows host information over MNDP, Mikrotik routers see it.
  • Listens to MNDP messsages and put them to list
  • Blocking winbox discovery function when running
  • Tooltip list to open with SSH,VNC,RDP,HTTP,PING protocol
  • IPv4 & IPv6 support
  • Self update from github

Screenshots:

alt text
alt text

Tested:

  • Windows 10, Windows 7
  • Single and multiple NIC
  • .NET 4.5.2

Windows service:

  • Periodic sends Windows host information over MNDP, Mikrotik routers see it.
  • Auto start after boot
  • Integrated with service installer
  • .Net Core Support (Alpha State Testing in Ubuntu 18.04)
MndpService, Version=1.7.0.0, Culture=neutral, PublicKeyToken=d876b79f32e69502
Usage:
MndpService Install - Install Service
MndpService Uninstall - Uninstall Service
MndpService Start - Start Service
MndpService Stop - Stop Service

Standalone library:

*Install via Nuget: https://www.nuget.org/packages/MndpTray.Protocol/

Usage:

*Try it on .Net Fiddle: https://dotnetfiddle.net/vMF42n/

using System;
using System.Threading;

namespace MndpTray.Protocol.Test
{
    public class Program
    {
        private static readonly Timer Timer = new Timer(Timer_Callback, null, Timeout.Infinite, Timeout.Infinite);

        public static void Main(string[] args)
        {
            MndpListener.Instance.Start();
            MndpSender.Instance.Start(MndpHostInfo.Instance);
            Timer.Change(0, 5000);

            Console.WriteLine("--- Start ---");
            while (!Console.KeyAvailable) { Thread.Sleep(100); }
            Console.WriteLine("--- Stop ---");

            Timer.Change(Timeout.Infinite, Timeout.Infinite);
            MndpListener.Instance.Stop();
            MndpSender.Instance.Stop();
        }

        private static void Timer_Callback(object state)
        {
            foreach (var i in MndpListener.Instance.GetMessages()) Console.WriteLine(i.Value.ToString());
            Console.WriteLine("--- Message List End ---");
        }
    }
}

MndpTray Build status

MNDP Mikrotik Neighbor Discovery Protocol Tray Application

Functions:

  • Periodic sends Windows host information over MNDP, Mikrotik routers see it.
  • Listens to MNDP messsages and put them to list
  • Blocking winbox discovery function when running
  • Tooltip list to open with SSH,VNC,RDP,HTTP,PING protocol
  • IPv4 & IPv6 support
  • Self update from github

Screenshots:

alt text
alt text

Tested:

  • Windows 10, Windows 7
  • Single and multiple NIC
  • .NET 4.5.2

Windows service:

  • Periodic sends Windows host information over MNDP, Mikrotik routers see it.
  • Auto start after boot
  • Integrated with service installer
  • .Net Core Support (Alpha State Testing in Ubuntu 18.04)
MndpService, Version=1.7.0.0, Culture=neutral, PublicKeyToken=d876b79f32e69502
Usage:
MndpService Install - Install Service
MndpService Uninstall - Uninstall Service
MndpService Start - Start Service
MndpService Stop - Stop Service

Standalone library:

*Install via Nuget: https://www.nuget.org/packages/MndpTray.Protocol/

Usage:

*Try it on .Net Fiddle: https://dotnetfiddle.net/vMF42n/

using System;
using System.Threading;

namespace MndpTray.Protocol.Test
{
    public class Program
    {
        private static readonly Timer Timer = new Timer(Timer_Callback, null, Timeout.Infinite, Timeout.Infinite);

        public static void Main(string[] args)
        {
            MndpListener.Instance.Start();
            MndpSender.Instance.Start(MndpHostInfo.Instance);
            Timer.Change(0, 5000);

            Console.WriteLine("--- Start ---");
            while (!Console.KeyAvailable) { Thread.Sleep(100); }
            Console.WriteLine("--- Stop ---");

            Timer.Change(Timeout.Infinite, Timeout.Infinite);
            MndpListener.Instance.Stop();
            MndpSender.Instance.Stop();
        }

        private static void Timer_Callback(object state)
        {
            foreach (var i in MndpListener.Instance.GetMessages()) Console.WriteLine(i.Value.ToString());
            Console.WriteLine("--- Message List End ---");
        }
    }
}

Release Notes

Increased Mndp send time to 30s,
Changed Msg encoding to better .Net core support,
Changed Host BoardName detection,
Changed Host SoftwareId to return logged in user name,
Changed Host UpTime calculation

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.8.0 175 8/17/2019
1.7.0 113 7/22/2019
1.6.0 186 3/15/2019
1.5.0 236 1/18/2019
1.4.5 199 12/21/2018
1.4.4 185 12/18/2018
1.4.3 205 12/18/2018
1.4.1 229 12/13/2018
1.4.0 221 12/13/2018