Source code protection for .dll file

Vijay Amni 1 Reputation point
2022-11-23T09:26:00.137+00:00

Hi I am building a .DLL project, Using this 'MyCode.dll' third party can get the data by calling functions only, this data is processed by some confidential formula which can not be shared with other. So How can I save my formula and still that '.dll' can be used in third party project. without reveling my source code/Formula? I tried cunfuserEx but I cant use that .dll in third party project.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,630 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Karen Payne MVP 35,386 Reputation points
    2022-11-23T10:12:17.013+00:00

    The free obfuscators usually can be defeated and with that look for a paid for service such as the following or this one.

    0 comments No comments

  2. Lex Li (Microsoft) 5,312 Reputation points Microsoft Employee
    2022-11-25T07:30:04.673+00:00

    Nothing can help you protect your formula, as long as you ship it to the customer.

    Reverse engineering is a technique with sharp learning curves, but there is always a group of masters with that skill set that can crack any software, if there is a business need (simply how much value your code has). All .NET obfuscation tools, no matter how the advertisements say, just raise the bar a little bit higher.

    Thus, if you take a look around, people/companies are selling APIs right now, various kinds of SaaS. That's really the way you should go if you can.

    0 comments No comments