arcker Posted October 27, 2006 Posted October 27, 2006 Ok, after a lot of researches, i've found that the APIs that use windows to determine what files is opened, and by who, on a system, is NetFileEnum of the netapi32.dllbut..after a lot of try, i really don't understand dllcalli think that application could be really needed by everyone to see who is connected to your computer, or on a remote computer !here some links that was my sourceon msdn first :NetFileEnumand a guy that has developed an little application with this, in .NETVBNet example using NetFileEnumand here is my script, but doesn't work...i really don't understand anything to dllcall, sorry :/;netfileenum Dim $servername,$basepath,$username,$element,$entriesread,$totalentries DllCall("netapi32.dll","long","NetFileEnum","long",$servername,"long",$basepath,"long",$username,"long",3,"long", _ DllStructGetPtr($element),"long",-1,"long",$entriesread,"long",$totalentries,"long","") ConsoleWrite(DllStructGetData($element,1)) -- Arck System _ Soon -- Ideas make everything "La critique est facile, l'art est difficile" Projects :[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now