Milad-PC
Milad-PC

Reputation: 24

How make Own license-key in CSharp

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 !

Upvotes: -1

Views: 1223

Answers (1)

Arvind
Arvind

Reputation: 70

create a one library application and follow following step.

  1. master page inherit one page. so this page call dll.
  2. this dll check license file exists or not
  3. if not exists then redirect to register license page and provide key. this key validate your database.
  4. 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.

Upvotes: 0

Related Questions