Let's say I have an exe-file (for example computer game) and need to forbid to run it until certain date or time during the day. Any 'manipulations' with file are allowed.
Could you, please, offer me a simple way of how to encode/decode such a file mostly in C or C++?