Problem : Am attempting to query the serial number and the model of the monitor. I managed to use the […]
Tag: wmi
Get the date-time of last windows shutdown event using .NET
Problem : Is there a way to find out when the system was last shutdown? I know there’s a way […]
Get the real values of environment variables on a remote machine in .NET
Problem : I’m trying to get the actual values of environment variables.This is what I have so far: string query […]
Prevent Windows service manager from stopping a service c#
Problem : I have a custom windows service with my own register handler, how can I prevent it from stopping […]
Network Authentication when running exe from WMI
Problem : I have a C# exe that needs to be run using WMI and access a network share. However, […]
Is there a possibility to differ virtual printer from physical one?
Problem : I have a list of all printers available in WinXP. I need the code (ideally .NET) to filter […]
WMI: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) throws when try to connect to remote machine
Problem : I’m using the following code to connect to remote machine using WMI: ConnectionOptions connOptions = new ConnectionOptions(); connOptions.Impersonation […]
WMI: Get USB device description on insertion
Problem : How can I get a device Id and other description on insertion of USB device? I’ve found an […]
How can I get the CPU temperature?
Problem : I need to gather some system information for the application I’m developing. The memory available and the CPU […]
Detecting USB drive insertion and removal using windows service and c#
Problem : Looking into possibility of making an USB distributed application that will autostart on insertion of an USB stick […]
- 1
- 2