首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > C# > 管理。HAL(硬件抽象层)网络实现

管理。HAL(硬件抽象层)网络实现

  • 资源大小:71.23 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 网络 hal 管理 实现 硬件 抽象

资 源 简 介

hal-sharp is a managed implementation for the HAL project (http://www.freedesktop.org/wiki/Software/hal) written in C#. This implementation is written using the exposed Hal D-Bus interface. A very simple example of AC adapter presence monitoring (courtesy of Beagle - http://www.beagle-project.org/): ``` using Hal; ... Manager manager = new Manager (new Context ()); foreach (Device device in manager.FindDeviceByCapability ("ac_adapter")) { Console.WriteLine ("Found HAL device AC adapter for battery monitoring."); Console.WriteLine ("On AC: {0}", device.GetPropertyBoolean ("ac_adapter.present")); device.PropertyModified += OnPropertyModified; } ```

文 件 列 表

hal-sharp-0.0.1
configure.ac
INSTALL
COPYING
config.guess
Makefile.in
NEWS
shamrock.m4
aclocal.m4
AUTHORS
config.sub
install-sh
README
missing
src
Makefile.am
hal-sharp.pc.in
ChangeLog
configure

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP