Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: System.PlatformNotSupportedException thrown in .Net Core 3.1.0
dev_vsm

From: Takapuna, New Zealand
Posts: 1
Member Since: 01/13/20
posted January 13, 2020 2:33 PM

We have an app. using PowerSNMP for .NET that has been ported to .Net Core. App. works fine when the installed .Net Core framework is 3.0.0 but throws a PlatformNotSupportedException exception when the framework is upgraded to 3.1.0 (the long term support release). Exception occurs trying to instantiate a Manager object. PowerSNMP for .NET is latest - 4.10.3.0.

Sample code:

using System;
using Dart.Snmp;

namespace TestDartNetCore31
{
  class Program
  {
    static void Main(string[] args)
    {
      Manager manager = null;
      try
      {
        Dart.Snmp.License.Set("TRIAL-WTo/zSsBe94EP8ZOsJn/l48/tAyqMjYU-1/13/2020 7:30:36 AM");

        manager = new Manager();

        Console.ReadLine();
      }
      catch (Exception ex)
      {
        Console.WriteLine("Exception: {0}", ex);
      }
    }
  }
}

Any help or information about an update to Dart assemblies would be appreciated.

Matt
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 448
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted January 13, 2020 2:50 PM

Thank you for your post. Please download the latest version from Nuget and your issue should be resolved. An updated installer will be available soon.

Regards,
Jamie

------
-Non-current subscribers must contact sales@dart.com to update subscription and receive continued support as needed.
------

Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX