I Have Some Problem with Some One Copy My Program exe , So i want make a single Code for each PC and Register My Program !! How Can Make That Single Code ( Computer ID or HardWare ID or ...) in C# ? and Check it !
Asked
Active
Viewed 714 times
-1
-
1Possible duplicate of [License for C# desktop application](https://stackoverflow.com/questions/3624149/license-for-c-sharp-desktop-application) – PaulF Nov 29 '18 at 12:27
-
Asking for libraries is off-topic. However, look at the sister site "Software Recommendations": https://softwarerecs.stackexchange.com/questions/35437/licensing-activation-software – Thomas Weller Nov 29 '18 at 12:28
-
You think you're going to be able to solve a problem that plagued that game industry for years and was only really "solved" by forcing always on connection to their own servers? – Damien_The_Unbeliever Nov 29 '18 at 12:44
1 Answers
0
create a one library application and follow following step.
- master page inherit one page. so this page call dll.
- this dll check license file exists or not
- if not exists then redirect to register license page and provide key. this key validate your database.
- if exists then check license file read its ok for mac id and processor id.
dll 1. create one authentication interface 2. design abstract class and implement interface. here define your logic to get pc mac id, process id used to create 1 encrypted text file and ext is .lis. 3. this master page inherit. so every time execute logic. check the file is correct mac and processor id.

Arvind
- 74
- 14
-
1
-
follow this https://www.c-sharpcorner.com/code/66/getting-mac-address-of-client-machine-in-c-sharp.aspx – Arvind Apr 09 '20 at 05:35