Timer or another alternative tool

Socarsky

Well-known member
Joined
Dec 27, 2012
Messages
173
Location
Jakarta/Indonesia
Programming Experience
Beginner
I really wonder so much that I just ask for learning and remove any idea from mind to use timer so, is there an other way to get look at an event on Windows instead of using Timer.
I want to start a project to test interfaces of Windows enabled or disabled by timer but I just got an idea to inquiry that whether is another method.
 
I don't really understand what it is that you want to do but, as far as Timers are concerned, they are used to perform an action one or more times after a specific period of time has elapsed. If that's not what you need to do then don't use a Timer. Try to avoid using Timers for polling if at all possible. Assuming one exists, always use a mechanism that will notify you when the desired state exists rather than looking for it over and over.
 
I understand the bottom line, I want to make a checker of interfaces that which one made enabled or disabled and then I will make it opposite that the meaning just control interfaces' situations. By the way, newbie programmers prefer to use timer in programs to check events in time. Thanks for explaining
 
You should look into using WMI, which is exposed to managed code via the System.Management namespace.
Thanks, I'll look at that soon. I just looked at de-compile and obfuscation terms.. Luckily there are some program to obfuscation .Net programs readability.
How about you? You are looking full-fledged programmer! How could you got all experiences in time. Can you give a little clue?
 
I've been programming in .NET for nearly 10 years, worked as a professional programmer for 2 years before that and I have a Computer Science degree. It doesn't come all at once but there are a lot more resources available now than when I started out.
 
Back
Top