Are you looking for some specific API, or a general algorithm? I don't know the .NET API, but I'd guess there's a bignum class that could be instantiated with a specific radix, and then converted to a ...