A part of the application that I am building should be accessed only during a particular time period.
I know we can get the current system time using the properties of DateTime
in C#. If I use DateTime
properties then the users can change their system time and access the part of application when ever they want.
Please let me know how to get the ACTUAL current time in C#.