摘要:using system;using system.runtime.interopservices;using system.management;namespace hardware{/// <summary>/// hardware_mac 的摘要说明。/// </summary>public class hardwareinfo{ //取机器名 public stri......
摘要:november 5, 2003t-sql programming part 2 - building a t-sql loopby gregory a. larsen
this is the second article in my t-sql programming series. this article will discuss building a program loop usi......
用C#编写获取远程IP,MAC的方法如果要想获得远程的地址,需要用sendarp这个函数来实现.具体的代码如下:[dllimport("iphlpapi.dll")] 【程序编程相关:
使用PB调用API自动更新(非FTP模式】 【推荐阅读:
从魔兽中的英雄设计机制来窥探面向对象的思】private static unsafe extern int sendarp(int32 dest,int32 host,ref intptr mac,ref intptr length); 【扩展信息:
Reference and Except】 [dllimport("ws2_32.dll")] private static extern int32 inet_addr(string ip); int32 ldest= inet_addr("157.60.68.163");//目的地的ip int32 lhost= inet_addr("157.60.68.33");//本地的ip ...
下一页 摘要:/*
利用"委托"实现对象实例按"多字段嵌套"排序
(不知道大家看懂题目了? 功能还是挺实用的!)
本文实现 person 类的实例们按 年龄、身高、体重等字段嵌套排序!
就像 sql 查询的 order by 字段1,字段2,...,字段n 子句的效果一样!
*/
using system;
class class1 //客......