如何使用类库? [英] How to use class library?

查看:85
本文介绍了如何使用类库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我想用C#语言和Visual Studio编写程序,
但是我做不正确.
例如,我想查看使用情况信息网卡,但我不知道在哪里使用这些类和参数以及属性.
另一个例子:
我想使用GatewayIPAddressInformation
但我不能以某种方式难以理解该类.
在哪里可以找到解决我问题的方法?
谢谢.

解决方案

阿明你好,

也许最好的入门方法是看一些教程:http://www.java2s.com/Tutorial/CSharp/0580__Network/ReportinformationfromNetworkInterfacenetworkstatistics.htm

此外,性能计数器也可能是解决此问题的一种方式:http://dotnet-snippets.com/snippet/show-network-traffic-sent-and-received/580


Hi,
i want to write programs with C# language and Visual studio ,
But i can't do it correctly.
for example i want to see usage information   of network card but i don't know where to use these classes and parameters and propertise.
another example that :
i want to use GatewayIPAddressInformation
but i can't use this class its somehow hard to understand.
where can i find solution for my problem?
Thanks.

解决方案

Hello Armin,

Probably the best way to start is looking at some tutorials: http://www.java2s.com/Tutorial/CSharp/0580__Network/ReportinformationfromNetworkInterfacenetworkstatistics.htm

Also, performance counters might also be a way of solving this: http://dotnet-snippets.com/snippet/show-network-traffic-sent-and-received/580


这篇关于如何使用类库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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