Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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;
}
Source by blog.techygeekshome.info #
 
PREVIOUS NEXT
Tagged: #How #set #expiry #date #program
ADD COMMENT
Topic
Name
6+8 =