- 浏览: 187094 次
最新评论
文章列表
using System;using System.Runtime.InteropServices;using System.Text;namespace DevClasses{/// <summary></summary>/// Summary description for Class./// class DeviceClasses{? /// <summary></summary>? /// The main entry point for the application.? /// ? public const int MAX_NAME_P ...
- 2004-06-23 08:41
- 浏览 566
- 评论(0)
原文: http://www.theserverside.com/articles/article.tss?l=JDBCPerformancehttp://www.theserverside.com/articles/article.tss?l=JDBCPerformance_PartIIhttp://www.theserverside.com/articles/article.tss?l=JDBCPerformance_PartIII译文:http://dev.csdn.net/article/29067.shtmhttp://dev.csdn.net/article/29068.shtmht ...
- 2004-06-23 08:38
- 浏览 586
- 评论(0)
//取CPU编号 private String GetCpuID() {ManagementClass mc = new ManagementClass("Win32_Processor");ManagementObjectCollection moc = mc.GetInstances();String strCpuID = null ;foreach( ManagementObject mo in moc ) {strCpuID = mo.Properties["ProcessorId"].Value.ToString();break; }retu ...
- 2004-06-23 08:37
- 浏览 542
- 评论(0)
using System;using System.IO;using System.Xml;
public class Sample { public static void Main() { XmlTextReader reader = null;
try { //Load the reader with the XML file. reader = new XmlTextReader("elems.xml"); //Parse the XML and display the text content of each of the elements. while (r ...
- 2004-06-23 08:23
- 浏览 382
- 评论(0)