WMI
library/API recommendation for adding instrumentation in code
If I want to add some instrumentation in my code for getting metrics like how long a particular method took to execute, anyone has recommendation for either wind开发者_如何学编程ows build-in or any 3r[详细]
2023-04-12 14:02 分类:问答Discover and enable/disable devices on Win8?
I\'m writing a metro app for Windows 8 (C# 5) to act as a power control app allowing the user to enable and disable various devices the computer will likely have. For now, I\'m just thinking bluetooth[详细]
2023-04-12 11:27 分类:问答How to retrieve computer's power management capabilities through WMI?
I\'d like to use WMI to figure out what power management capabilities my computers have. Can they sleep? Can they hibernate? etc.[详细]
2023-04-11 19:11 分类:问答Detecting anti-virus on Windows with WMI - which namespace?
I am coding a antivirus detection code and the WMI namespace differs in some cases as Win7 supports \"\\root\\SecurityCenter2\" and WinXP uses \"\\root\\SecurityCenter\".[详细]
2023-04-11 17:35 分类:问答How do i get Physical memory of my computer using WMI query in C#?
Is the开发者_StackOverflowre a way to get available memory using WMI query in C# codeCode generated with WMI Code Creator:[详细]
2023-04-11 17:30 分类:问答Read remote file without file sharing
I\'m trying to read a file on a remote computer howeve开发者_运维知识库r, ports for file sharing are blocked. Actually most porst are closed and only have access to execute WMI and Registry queries.[详细]
2023-04-11 13:34 分类:问答WMI Permissions for windows 7 standard user
I have an .NET application that uses WMI to enumerate serial ports and find a device with a specific product id.The application runs fine when logged in as an administrator, but I need it to run on a[详细]
2023-04-11 06:15 分类:问答WMI query to Win32_Directory not returning all results
I\'m running some WMI queries against a remote computer (from JavaScript/JScript, WMIC, a downloaded WMI query tool -- it makes no difference), to which I have adminstrator privileges.[详细]
2023-04-11 01:22 分类:问答Set network configuration programmatically c#
I want to save my network adapter configuration and then to restore it on another computer. I use WMI to get my network configurations and i save it to the .txt file :[详细]
2023-04-10 20:52 分类:问答Is there a way to manage Microsoft DNS *without* using WMI?
We have a need to manage our DNS records (add/update) remotely using C#... I know of and have written/implemented a solution using WMI but the problem is that WMI can be painfully slow.[详细]
2023-04-10 16:15 分类:问答