There is Convert.ToBase64String so I don't think encode is necessarily universal (though probably more precise).