A
A
Alexander Alexandrovich2014-03-08 19:41:05
C++ / C#
Alexander Alexandrovich, 2014-03-08 19:41:05

How to insert files into a project and run them?

Hello, how can I add files (several folders and exe) to a visual studio c# project
and run them already from the project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aush, 2014-03-10
@aush

The question is how much you want to protect yourself from being able to run this program without authentication.
I understand that you would like to have all the files of your third-party program somehow "embedded" in your program. It's possible - you can always just add binary files as resources. But in the end, because If you write in Sharpe, an attacker can study the source code of your program for displaying an authorization form, understand how you launch a third-party application from it and run it.
If you need "fool protection", then just change the extension of the exe file - the average user will not guess that this application can be launched, and this will not prevent you from launching this application.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question