Can SNMP send DataTables as its VBL?

Hi people,

I would like to create C# clients that will use SNMP to communicate to a C# manager and I would like to know what namespaces to call, what classes, etc. I have not been able to find C# examples on this (only WMI examples), so if anybody can give me some or give me guidance, I will really appreciate it.

Also, as a general question, what will you people suggest, have the clients listenning/talking through a port and have a similar behaviour on the manager or use SNMP?

Thank you!

[521 byte] By [Rijckewaert] at [2007-12-19]
# 1

Hi Rijckewaert,

Can you refer this article for more details about SNMP.

http://www.codeproject.com/useritems/SNMPDLL.asp

Cheer.

Prabu. at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 2

There are some nice libraries available, here is a little list:

PJ.vandeSande at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 3
Thank you people! I thought whenever I get a reply the system will let me know but it hasn't. I will let you know how it went.
Rijckewaert at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 4

Thanks for your help, all the links have been very helpful but see, the more I look at SNMP I am not sure if it will do what I want to do.

Basically, and this is more of a design question, I would like to send accross a network DataTables with some info. In a nutshell, I will have a server "listen" or "calling" machines asking them for these DataTables. Clients will "listen" to server calls or will send these DataTables when they think it is necesary.

My initial thought was that I could add the DataTables as my Variable Binding List (VBL) in a SNMP packet and send them accross. Do you think this is possible? My other option is to open a port and listen on that port for requests from the server or clients or viceversa (now, I would have ot figure out that whole port thing ujst like SNMP). Even a third option is to have a database, have the clients store the info and then the server would pull it out from the database and show it in a comprehensive manner to the user. Could you please help me? I would really appreciate your help.

Rijckewaert at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 5
A DataTable can easily be serialized to Xml or a Binary stream. I think that is the easiest way to design it.

Just use TCP/IP and send the serialized DataTable to the caller.

PJ.vandeSande at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 6
Thank you, it looks like only TCP/IP will do the trick.
Rijckewaert at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...
# 7

Hi,

I would do the exactly the same, how have you success ?

Thanks !

Fabien at 2007-9-9 > top of Msdn Tech,Visual C#,Visual C# General...