Computer log in C#

Here is console application which is designed to log everytime your computer is turned on. copy the exe file and put it in the startup directory of your computer.
Next Recommended Reading How to write or create a text file in C#