soloman817
Joined: 26 Sep 2012 Posts: 17
|
Posted: Tue Oct 02, 2012 2:53 am Post subject: How can I protect a library with encryptor? |
|
|
Hi
We puchased Encryptor. and we want to protect a library written in F#. But as I saw the demo code, it need an entry point, which a library will not have. and also, we need to let customer to use our library, so they need see the types when compiling, but seems I cannot make this happen if the bootstrap project is just an assembly loader.
So, how can I protect such library?
Regards,
XIang. |
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Tue Oct 02, 2012 8:42 am Post subject: |
|
|
.NET Encryptor cannot be used to protect standalone library assemblies that can then be referenced by non-encrypted applications. This is because, as you point out, the referencing application project must have access to the unencrypted assembly to see the types.
You can only encrypt library assemblies that are as part of an encrypted application. In this case the application project references the unencrypted assembly - but when the encrypted application runs it loads the assembly from the encrypted resource. _________________ Infralution Support |
|