- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 WMI和ManagementObjectSearcher一些使用
<br /> /// <summary> /// 主板信息 /// </summary> public static void GetBaseBoardInfo() { try { Console.WriteLine("主板信息"); ManagementObjectSearcher searcher =
2011-04-29 17:35:00 9287 1
原创 如何定义带有一个模块的动态程序集
<br />下面的代码示例演示如何定义带有一个模块的动态程序集。该示例程序集中的模块包含一个类型 MyDynamicType,该类型具有私有字段、获取和设置私有字段的属性、初始化私有字段的构造函数,以及将用户提供的数与私有字段值相乘并返回结果的方法。<br />创建程序集时指定 AssemblyBuilderAccess.RunAndSave。程序集代码可立即使用,并且程序集将保存到磁盘,以便可以使用 Ildasm.exe(MSIL 反汇编程序) 对其进行检查或将其用于另一个程序。<br /> <br />
2011-04-28 16:39:00 936
WPF高级编程源代码
2010-05-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人