Quote:
How do I encrypt my C# source code with ncrypt.dll?
Since your source code is basically on your computer and is not distributed with your app, there is no point to encrypt source code.
If you want to protect your app from reverse engineering, you may look at
obfuscation. Note that obfuscation is not encryption.
An article on this site:
Don’t rely on obfuscation[
^]