C# put date into program when compiled

前端 未结 7 1356
感情败类
感情败类 2021-01-12 23:49

I was thinking about how to create a program that would only be valid for X period of time, (within a C# app).

What I was thinking was that you would have the curren

7条回答
  •  清酒与你
    2021-01-13 00:18

    I would go with the "Phone home"-variant. And make that call important. ;) I mean, some important function in your program (some calculation maybe?) will take place on the server. So if the user decompile the program and remove that "call home" it will render the program useless.

    I know that not all programs have those specifications that makes this possible but more than you think in general.

提交回复
热议问题