Login  
Search All Forums
Dart Home | PowerSNMP for .NET | Custom Development Reply | PowerSNMP for .NET Topics | Forums   
AuthorForum: PowerSNMP for .NET
Topic: Decrypt encoded message
Avitt

From: netanya, Israel
Posts: 1
Member Since: 01/24/19
posted January 24, 2019 4:00 AM

I have a program to which listen to trap messages.
When a message is recieved MessageEventArgs object which has RequestMessage object. In there i have EndodedMessage property which i need to decode. How can i achive this? The program is not using dart.Agent to listen to traps events
Nick B (Admin)

From: Utica, NY USA
Posts: 605
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted January 24, 2019 2:04 PM

Hello,

The EncodedMessage property is more for logging, than it is for active decoding. Manager.Security.TrapUsers is used to specify the Username/Password(s)/etc for decoding messages before the NotificationReceived delegate is called; are you using that?

If you are actually looking to decode the EncodedMessage, such as if you've stored it, then MessageBase.Create() is used for this:
http://dotnet.dart.com/help/psnet/webframe.html#Dart.Snmp~Dart.Snmp.MessageBase~Create.html
Reply | PowerSNMP for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX