Protecting DLL files from use.
I have a dll which I have written that contains code for encrypting and decrypting strings, how would I go about preventing its use by someone else who say... writes another .NET application and then attempts to include the methods from that library by referencing it?