Prevent other app's I/O
-
Hi My program should prevent certain processes' IO operations, and only perform them if the user clicks Yes in a Yes/No dialog. Can this be done? And anyway how can I check wether those processes are running? Probably there is an API or sg for that, but I'm new to this part of programming. Much thanks in advance :)
-
Hi My program should prevent certain processes' IO operations, and only perform them if the user clicks Yes in a Yes/No dialog. Can this be done? And anyway how can I check wether those processes are running? Probably there is an API or sg for that, but I'm new to this part of programming. Much thanks in advance :)
The real $M@ wrote:
Can this be done?
Not that I'm aware of. You could try and modify the security-attributes of the file, taking away or granting the read/write rights. You'd have to know in advance what file is going to be edited.
The real $M@ wrote:
And anyway how can I check wether those processes are running?
Process.GetProcesses()
I are troll :)