Are purchases tied to your account?

I purchased a boxed copy of StarCraft 2 a while back. I'm trying to install it on my new computer and it's asking for a serial code...I through the box out. I figured was like Steam. Do you think there's anyway I can access the license with my account or do I need to buy a new license?