i thinking of making a program that runs in the backgroud
and check for any user that is accessing my shared folder and let the program inform me.
i tried using NetSessionEnum . The tutorial that i found uses button to check everytime. I added a Do loop but it causes a high cpu usage.
example of my loop:
Do While run 'start loop
If currenttick + delay <= GetTickCount() Then
currenttick = GetTickCount() 'Reset the timer variable
i'm sure theres is a better way . Any idea ..??