在silvverlight项目中使用SnmpSharpNet [英] Use SnmpSharpNet in a silvverlight project

查看:123
本文介绍了在silvverlight项目中使用SnmpSharpNet的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Silverlight项目中开发一个Snmp Manager,以获取和设置Snmp V3代理中的值.我发现SnmpSharpNet库在C#Snmp领域中被广泛使用.所以我想在我的项目中使用它.但是我无法在我的silverlight项目中添加引用"SnmpSharpNet.dll".我想知道是否需要SnmpSharpNet的源代码而不是"SnmpSharpNet.dll"吗?
如果有人可以帮助我,我将不胜感激.

I want to develop a Snmp Manager in a silverlight project, to get and set values in the Snmp V3 Agent. I found that the SnmpSharpNet library is widely used in C#Snmp area. So I want use it in my project. But I can''t add reference "SnmpSharpNet.dll" to my silverlight project. I wonder if I need the source code of SnmpSharpNet instead of "SnmpSharpNet.dll"?
I will apreciate it if anyone could help me.

推荐答案

拥有源代码总是更好的选择,尤其是在将所有代码放入版本控制系统的代码库中时(如果您在没有任何版本控制系统的情况下工作,请帮自己一个忙,立即停止并安装一个).但是,如果您只有已编译的程序集,则可以始终引用它,只需要具有目标.NET框架的兼容版本即可.

您可以轻松找到程序集的目标.NET版本,请参见 ^ ].

—SA
Having the source is always better, especially when it comes to putting all code to the codebase of the Revision Control System (if you work without any Revision Control System, do yourself a favor, stop it immediately and install one). However, you if only have a compiled assembly, you can always reference it, you only need to have a compatible version of the targeted .NET framework.

You can easily find out the target .NET version of the assembly, see http://stackoverflow.com/questions/325918/how-to-find-out-which-version-of-the-net-framework-an-executable-needs-to-run[^].

—SA


这篇关于在silvverlight项目中使用SnmpSharpNet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆