How to set an expiry date on a program

65

How to set an expiry date on a program -

if (DateTime.Now >= new DateTime(2020, 12, 31))
{
MessageBox.Show("Program Expired - Contact Administrator", "Program Name", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
return;
}

Comments

Submit
0 Comments