Mare just told me that I wasn't very clear with my point in Easy times post. I was trying to tell that I always wondered how the key generating magic looks like in shareware in demo programs. But I never bothered to look very deep.
In the times of .NET this has become trivial. Just find a keygen written in .NET, drop it in Reflector and you can easily see all the magic. It's very much what I expected.