c# - Deleting files on a remote machine -
Is it possible to connect to a remote machine and it is possible to delete files? If not, is there any other approach that can achieve this task?
One idea is that I can make a machine that runs on every machine, enforces a method that removes the local files, and then sends the command service.
If you can access it through a standard non-network path, this is the easiest way . \\ machinename \ c $ \
. You have to be an administrator on the machine to reach that path. It works with System.IO objects (files, directories, etc)
Comments
Post a Comment