摘要: 1 using System.Net.Mail; 2 using System.Net; 3 using System.Data; 4 using System.Xml; 5 /// <summary> 6 /// EmailConfig Info 7 /// </summary> 8 public partial class EmailConfig 9 { 10 #region 11 private string _UserName; 12 private string _PS... 阅读全文
posted @ 2012-03-19 21:56 石 磊 阅读(399) 评论(0) 推荐(0) 编辑
摘要: 1 public partial class VAV_File_Client 2 { 3 private string path = ""; 4 private string strBaseDir = ""; 5 private string host = ""; 6 private int port1 = 0; 7 private int port2 = 0; 8 private int port3 = 0; 9 private bool IsXuCh... 阅读全文
posted @ 2012-03-19 21:55 石 磊 阅读(4556) 评论(0) 推荐(1) 编辑
摘要: 1 /// <summary> 2 /// CPU 3 /// </summary> 4 public class CPULoadInfo 5 { 6 /// <summary> 7 /// 打印CPU信息 8 /// </summary> 9 public static void PrintCPU_Info()10 {11 Console.WriteLine(getCPUInfo());12 }13 /// <summary>14 /// 输出CPU信息15 //... 阅读全文
posted @ 2012-03-19 21:53 石 磊 阅读(6910) 评论(0) 推荐(3) 编辑
摘要: 1 /// <summary> 2 /// 内存 3 /// </summary> 4 public class VAV_MDDFM_MEM 5 { 6 //定义内存的信息结构 7 [StructLayout(LayoutKind.Sequential)] 8 public struct MEMORY_INFO 9 {10 public uint dwLength;11 public uint dwMemoryLoad;12 public... 阅读全文
posted @ 2012-03-19 21:52 石 磊 阅读(8040) 评论(0) 推荐(5) 编辑
摘要: 1 /// <summary> 2 /// 硬盘 3 /// </summary> 4 public class VAV_MDDFM_HD 5 { 6 private static StringBuilder strBu = new StringBuilder(); 7 8 /// <summary> 9 /// 获取硬盘空间大小10 /// </summary>11 /// <param name="Drive">指定盘符,默认为ALL</param>12 public static string G 阅读全文
posted @ 2012-03-19 21:50 石 磊 阅读(4263) 评论(0) 推荐(1) 编辑