string cpuInfo = string.Empty; ManagementClass mc = new ManagementClass("win32_processor"); ManagementObjectCollection moc = mc.GetInstances(); foreach (ManagementObject mo in moc) { if (cpuInfo == "") { //Get only the first CPU's ID cpuInfo = mo.Properties["processorID"].Value.ToString(); break; } } return cpuInfo;
Here you will find about .net technology. also can get example about MVC.net and jquery.
Monday, July 14, 2014
get the Computer's Unique ID asp.net
Subscribe to:
Post Comments (Atom)
📱Build WhatsApp Bot using .NET + OpenAI
In this article, you will learn how to build a real-world WhatsApp chatbot using ASP.NET Core and OpenAI. This bot can automatically repl...
No comments:
Post a Comment