I Code, Therefore I Am

while(!(succeed == try()));

WMI & C# – Get your systems up-time

| June 25, 2010

Recently I needed the ability to get the systems up-time, no matter what system the application may be currently running on. After many hours on Bing I came to the conclusion that there are literally hundreds (if not thousands) of ways to accomplish this. I chose using Windows Management Instrumentation (WMI) as I’m very familiar [...]