9 Topics

Member Avatar for
Member Avatar for Reverend Jim

An often underused control from vb.Net is the FolderWatch control. But sometimes you need to throw something together that doesn't need a fancy GUI. Or perhaps the task seems too trivial to go to the hassle of coding it up in vb.Net (or C#). Because the FolderWatcher is built on …

1
1K
Member Avatar for ala_2

i am trying to vendor specifc attribute from this WMI class MSStorageDriver_FailurePredictData(HDD SMART information). Here is the used code : IEnumWbemClassObject* pEnumerator = NULL; hres = pSvc->ExecQuery( L"WQL", L"SELECT * FROM MSStorageDriver_FailurePredictData", WBEM_FLAG_FORWARD_ONLY | WBEM_FLAG_RETURN_IMMEDIATELY, NULL, &pEnumerator); IWbemClassObject *pclsObj = NULL; ULONG uReturn = 0; while (pEnumerator) { HRESULT hr …

Member Avatar for ala_2
0
788
Member Avatar for wbsat

I have a c# gui app that will open any exe and monitor that exe for external file access. i have to collect the open/close/read/write stats of the files, the exe accesses. does wmi or any c# class provide the way to do it? rgds satish s

Member Avatar for Ketsuekiame
0
154
Member Avatar for flaviu_xdv

I recently made a c# printer management tool that uses a WCF service which contains [URL="http://msdn.microsoft.com/en-us/library/windows/desktop/aa394363%28v=vs.85%29.aspx"]WMI Win32_Printer[/URL] methods like [URL="http://msdn.microsoft.com/en-us/library/windows/desktop/aa384769%28v=vs.85%29.aspx"]AddPrinterConnection [/URL]and [URL="http://msdn.microsoft.com/en-us/library/windows/desktop/aa393291%28v=vs.85%29.aspx"]SetDefaultPrinter[/URL]. Everything works fine if both the client and the WCF service run on the same machine. But if i try to move the WCF service on another machine, …

Member Avatar for flaviu_xdv
0
1K
Member Avatar for Sergio Tapia

I'm trying to create a fingerprint of a machine fetching certain information from the hardware that is unique to it. For example, a hard drives serial number. So I'd like to fetch X amount of information and hash it. This hash will be saved remotely on a whitelist that the …

0
117
Member Avatar for chriswelborn

I was looking for a piece of code to show all users logged on to my system. What I mean by that is: only 1 person is ever truly logged in at my house, but there are sometimes other users "logged in" with programs running under their account. This is …

0
213
Member Avatar for toadzky

My program talks to a USB device over a serial connection. I have WMI ManagementEventWatchers watching for the device to be plugged in and unplugged. If I try to enable, disable, or change anything about the GUI from the event handlers for the WMI Events, I get a InvalidOperationException because …

Member Avatar for toadzky
0
233
Member Avatar for kishorerp

am working on creating a python script to find Installed programs in Uninstall folder in registry, the script works perfectly fine on 32 bit machines but errors out with a wmi error on 64 bit machines. Am not able to get hold of a wmi module for python on 64 …

0
155
Member Avatar for theweirdone

Hi, I was trying to use my friend's hard drive the other day, but my Windows computer would not recognize it because it was in a Mac file format. I'm now trying to create a program (simple cli), pretty much a file folder, but that would be able to read …

Member Avatar for solomonhomicz
0
787

The End.