I am trying to send video file from windows10 pc to a raspberry pi (using wi-fi). I can do that with a ssh command "scp". Currently i successed with openssh.
Im using CMD command: "scp myfile.txt pi@192.168.1.3:project/" (i followed this:https://www.raspberrypi.org/documentation/remote-access/ssh/scp.md)
I tried a code like this and it is not working: like this
But what i want is, i want to use this command in a windows form app, cant figured out how to that, i tried SSH.NET with C# but i never used that before and im not experienced with Visual Studio C# because of that im kinda stuck now and dont know what to do or where to look actually.
SSH.NET code that i tried:SSH.NET code