Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How can I protect a library with encryptor?

 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
soloman817



Joined: 26 Sep 2012
Posts: 17

PostPosted: Tue Oct 02, 2012 2:53 am    Post subject: How can I protect a library with encryptor? Reply with quote

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.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Oct 02, 2012 8:42 am    Post subject: Reply with quote

.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
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group