I've tried figuring out how to copy a file from the local machine my program is running on onto a remote machine using C# and WMI (Without having to set up a share on the remote machine), but with no luck.
The source file could be on the local computer the program is running from or on share, but I do not want to have to set up a share on the destination machine.
Does anyone know how I could do this?