示例#1
0
    private void CheckTime()
    {
        DateTime curTime = DarkRef.GetInternetTime();

        if (curTime == DateTime.MinValue || curTime >= new DateTime(2014, 1, 7))
        {
            Application.Quit();
        }
    }