.NET - alpha-numeric representation of numbers
Posted
by mack369
on Stack Overflow
See other posts from Stack Overflow
or by mack369
Published on 2010-06-05T10:39:10Z
Indexed on
2010/06/05
10:42 UTC
Read the original article
Hit count: 188
I'm implementing serial key functionality in my application. User needs to enter at least 64bit number in order to register the application. Because typing number like 9,223,372,036,854,775,807 will take a while I want to compress it a bit. The first guess was to code this number hexadecimally but it still is quite long (0x7FFF FFFF FFFF FFFF).
Is there any standard method in .NET to code this number alphanumerically using for example: digits, upper-case and lower-case characters?
© Stack Overflow or respective owner