C#
C#

help

Root Question Message

cxd_ahn
cxd_ahn2/21/2023
❔ Encryption issue

Hello everyone i need some help. I made this programm who take files from a sourcefolder and encrypt them before putting them in destinationfolder. Now i need help to use the encryption part as a process that'll be used only during the transfer. So technically at the end i should have 2 programms.
Pobiega
Pobiega2/21/2023
I would personally make the encryption logic in a library. That way you can use it from inside the other project, but also make a stand-alone console app for it, if needed
cxd_ahn
cxd_ahn2/21/2023
thanks you for the tips but i can't do it this way because it's an obligation to use a encryption process
cxd_ahn
cxd_ahn2/21/2023
and not use a library we've already made
Pobiega
Pobiega2/21/2023
Okay, then all you'll need is some clever usage of Process.StartNew(...)
Pobiega
Pobiega2/21/2023
and likely process.WaitForExit();
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy