Embedded a *.exe into a dll

前端 未结 5 1477
一个人的身影
一个人的身影 2020-12-16 05:15

does somebody know how can I embedd an exe file into a dll ?

I have a tool which is an exe file that I call from c# code.

The thing is that I want to have 1

5条回答
  •  一生所求
    2020-12-16 05:31

    It's worth baring in mind that your uses may not be too happy about you doing this. Embedding an executable that they've got no control over into a DLL that you'll extract and run will probably make people worry about the running a Trojan on their machine.

    It's better to leave the .EXE in the filesystem and be transparent about what your application is doing.

提交回复
热议问题