The only client-side calculation the API offers for finding intersection is in Envelope geometry which may not be as accurate as you need it to be when finding interesection between Polylines. The other option would be to use GeometryService.Intersect.