C
C#2y ago
cxd_ahn

❔ 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.
4 Replies
Pobiega
Pobiega2y ago
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_ahn2y ago
thanks you for the tips but i can't do it this way because it's an obligation to use a encryption process and not use a library we've already made
Pobiega
Pobiega2y ago
Okay, then all you'll need is some clever usage of Process.StartNew(...) and likely process.WaitForExit();
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts