智能设备框架亮点?

发布于 2024-08-03 07:22:12 字数 112 浏览 4 评论 0原文

我正在考虑在我的公司引入 OpenNETCF 的智能设备框架,因为我喜欢 SafeHandle 类。但我想知道它还有什么好处。有人在 OpenNETCF 中找到了一篇好的博客文章或包含最有用的类和函数的内容吗?

I am thinking about introducing OpenNETCF's Smart Device Framework at my company, as I like the SafeHandle class. But I would like to know what else is good in it. Anyone found a good blogpost or something with the most useful classes and functions in OpenNETCF?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情深已缘浅 2024-08-10 07:22:12

我们时不时会收到这个问题,实际上很难回答,因为里面的内容太多了。

这是我最喜欢的列表,按命名空间排列:

  • OpenNETCF.IO
    • FFT(不言自明)
    • MemoryMappedFile(IPC数据工具)
    • StreamInterfaceDriver(几乎所有驱动程序级别访问的基类)
    • PhysicalAddressPointer(非常适合在硬件上直接访问寄存器)
  • OpenNETCF.IO.Threading
    • NamedMutex 和 EventWaitHandle(您实际上可以使用命名系统事件,因此它们是系统唯一的 - 同样有利于 IPC)
  • OpenNETCF.ToolHelp(适用于任何需要进程、线程等列表的情况)
  • OpenNETCF.Diagnostics
    • TextWriterTraceListener 和 Trace2(您可以像在桌面上一样进行日志记录)
  • OpenNETCF.Drawing.Imaging(用于 Imaging 命名空间的各种内容 - 适合 alpha 混合、旋转等)
  • OpenNETCF.Net.NetworkInformation(您可以使用的所有内容)曾经想了解您的任何网络接口)
  • OpenNETCF.Windows.Forms
    • OwnerDrawnList(对于那些无聊的列表不起作用的时候)
    • RoundGauge(外观丑陋,但在不闪烁的复杂控件上是一个很棒的代码示例)
  • OpenNETCF.WindowsCE
    • LargeIntervalTime(即使设备挂起也能触发事件)
  • OpenNETCF.WindowsCE.Messaging
    • P2PMessageQueue(对于排队的 IPC 来说没有什么更好的了)

比这更好的了)现在还有很多东西 - 我无法合理地列出所有内容。这只是快速浏览源代码树中我最喜欢/最常用的示例。

We get this question from time to time, and it's actually hard to answer because there's just so much in there.

So here's a list of my favorites, by namespace:

  • OpenNETCF.IO
    • FFT (self-explanatory)
    • MemoryMappedFile (IPC data tool)
    • StreamInterfaceDriver (base class for almost any driver-level access)
    • PhysicalAddressPointer (great for direct register access on hardware)
  • OpenNETCF.IO.Threading
    • NamedMutex and EventWaitHandle (you can actually use named system events, so they're system unique - again good for IPC)
  • OpenNETCF.ToolHelp (good for anything where you need a list of processes, threads, etc)
  • OpenNETCF.Diagnostics
    • TextWriterTraceListener and Trace2 (you can do logging just like on the desktop)
  • OpenNETCF.Drawing.Imaging (all sorts of stuff for the Imaging namespace - good for alpha blending, rotations, etc)
  • OpenNETCF.Net.NetworkInformation (everything you ever wanted to know abpout any of your network interfaces)
  • OpenNETCF.Windows.Forms
    • OwnerDrawnList (for those times when a boring list just won't do)
    • RoundGauge (ugly looking, but a great code example on a complex control without flickering)
  • OpenNETCF.WindowsCE
    • LargeIntervalTime (for firing events even when the device is suspended)
  • OpenNETCF.WindowsCE.Messaging
    • P2PMessageQueue (nothing better for queued IPC)

Now there is a lot more than this in there - there's no way I could reasonably list it all. This is just a sampling of my favorites/most commonly used from quickly browsing the source tree.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文