Hi All,
I have a registration code that currently has 4 bytes that are unused.
I'd like to store a future date in those 4 bytes. Is there a way to
convert a date to a 4 byte string?
When I do something like this,
string stringDate =
DateTime.Parse( "1/15/2210").ToBinary ().ToString("X" );
I get a hex # 15 characters long.
Any suggestions? I only have 4 bytes to work with to stay backward
compatible.
Thanks,
Steve
I have a registration code that currently has 4 bytes that are unused.
I'd like to store a future date in those 4 bytes. Is there a way to
convert a date to a 4 byte string?
When I do something like this,
string stringDate =
DateTime.Parse( "1/15/2210").ToBinary ().ToString("X" );
I get a hex # 15 characters long.
Any suggestions? I only have 4 bytes to work with to stay backward
compatible.
Thanks,
Steve
Comment