Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / March 2005

Tip: Looking for answers? Try searching our database.

SNMP API

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TRW - 14 Mar 2005 20:53 GMT
Is there a set off SNMP APIs for C#?

I'm looking to write a trap generation tool.  I was hoping to use
C#.

If not, it looks like C++.

thanks
David MS - 17 Mar 2005 01:20 GMT
Hi,
I don't think any managed SNMP api's are provided by the framework or
sdk's.  However, you can use COM interop to use any COM SNMP api's you
could find.

To do this in VS with an open project, "Add Reference" under the Project
menu item.

For more information about interoperating with unmanaged code see:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconmarshalingdatawithcominterop.asp

I hope that helps.

Thanks,
David [MS-SDK]

-Please do not send email directly to this alias.  This alias is for
newsgroup purposes only

-This posting is provided ?AS IS? with no warranties, and confers no rights.

-To provide additional feedback about your community experience please send
e-mail to: sdkcomm@microsoft.com
--------------------
>>Thread-Topic: SNMP API
>>thread-index: AcUoz3Gs5ThPCqEkSoquLnEIgqdJfg==
[quoted text clipped - 27 lines]
>>
>>thanks
TRW - 17 Mar 2005 21:47 GMT
Thanks David.

I was looking at WMI as a possible way to do this.

Am I wasting my time?

> Hi,
> I don't think any managed SNMP api's are provided by the framework or
[quoted text clipped - 53 lines]
> >>
> >>thanks
David MS - 21 Mar 2005 22:20 GMT
Hi,
Yes, I believe you could use WMI.

There are some docs as part of the Platform SDK about that here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/
accessing_snmp_devices.asp?frame=true

Thanks,
David [MS-SDK]

-Please do not send email directly to this alias.  This alias is for
newsgroup purposes only

-This posting is provided ?AS IS? with no warranties, and confers no rights.

-To provide additional feedback about your community experience please send
e-mail to: sdkcomm@microsoft.com
--------------------
>>Thread-Topic: SNMP API
>>thread-index: AcUrMnoSo1d6lMpATieA2kCCLLNGNA==
>>X-WBNR-Posting-Host: 12.170.53.2
>>From: =?Utf-8?B?VFJX?= <TRW@discussions.microsoft.com>
>>References:  <2F16F3CD-D7DC-4FA7-A10C-F5078E7C4150@microsoft.com>
<Xr4lccoKFHA.380@TK2MSFTNGXA02.phx.gbl>
>>Subject: RE: SNMP API
>>Date: Thu, 17 Mar 2005 12:47:04 -0800
[quoted text clipped - 32 lines]
>>>
>>> For more information about interoperating with unmanaged code see:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
>>> l/cpconmarshalingdatawithcominterop.asp
>>>
[quoted text clipped - 7 lines]
>>>
>>> -This posting is provided ???AS IS??? with no warranties, and confers
no rights.

>>> -To provide additional feedback about your community experience please send
>>> e-mail to: sdkcomm@microsoft.com
[quoted text clipped - 30 lines]
>>> >>
>>> >>thanks

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.