Application metering
-
What is the easiest way to detect when applications launches and terminates using C#? What I want to do is make a program that monitors my application usage. I've read that this can be accomplished with a c++ dll that uses hooks, but I would preferably use only C#.
-
What is the easiest way to detect when applications launches and terminates using C#? What I want to do is make a program that monitors my application usage. I've read that this can be accomplished with a c++ dll that uses hooks, but I would preferably use only C#.
You can wrap C++ dll up into assembly that can be used in .NET enviroment << >>
-
What is the easiest way to detect when applications launches and terminates using C#? What I want to do is make a program that monitors my application usage. I've read that this can be accomplished with a c++ dll that uses hooks, but I would preferably use only C#.
If your purpose is to just record the application usage and that too only for one application [or per application], then you can also consider the simple solution of using the DateTime.Now method at the time of start of your application and the closure of your application. Do it from that application itself. And, store these values in some file or place on the user machine in the form of some log file or otherwise. On the other hand, if your purpose is to "monitor" your application in some other manner (say by way of initiating some other action on the system), then you may consider some other solution depending upon the type of requirement. Regards, Ashok Dhamija _____________________________ Padam Technologies
-
What is the easiest way to detect when applications launches and terminates using C#? What I want to do is make a program that monitors my application usage. I've read that this can be accomplished with a c++ dll that uses hooks, but I would preferably use only C#.