2
Answers

Logging with C# ??

Hi Everybody.
 
I want to write an app that logs all the operations that currentuser does. For example ; I created a file (.txt or .doc or whatever) then i deleted it then i opened Internet Explorer and ran google etc.. How can i dedect all these and log??
 
Please help me.
I wrote an Remote Desktop app. I need to log what the user did when he connects a computer with my Remote Desktop app.
Answers (2)
0
Vulpes

Vulpes

NA 98.3k 1.5m 12y
Here's another way of doing it:

      int i = 1;
      int j = 2;
      i ^= j;
      j ^= i;
      i ^= j;
      Console.WriteLine("i = {0}, j = {1}", i, j);
0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 12y

  Something like this, try it..

            int i = 1;
            int j = 2;

            Console.WriteLine("i = " + i);
            Console.WriteLine("j = " + j);

            i = (j + i);
            j = (i - j);
            i = (i - j);

            Console.WriteLine("");
            Console.WriteLine("i = " + i);
            Console.WriteLine("j = " + j);
            Console.ReadKey();