(C # / C ++ CLI) Is it possible to protect my C ++ CLI assemblies from being used in other .NET projects?

I created the C ++ CLI wrapper for my own C ++ code, which in turn refers to my C # application. Is it possible to somehow protect this assembly so that it can be used only in my application without the possibility of using it?

I’m a Microsoft technology developer, I’m all about selfishness :)

+5
source share
3 answers

I have successfully used this technique .

, . , , .

+3

, .

, , , . , , , .

0

. LinkDemand . , .

, , ++/CLI Assembly:: GetEntryAssembly , .

, ( ), , .

, ++ - , , .

0

All Articles