Get the best route between two points

Hi guys,

I created a map in c#-unity with the XML file exported from OpenStreetMap.
Is any services/functions/library… to get the best route between two points?

Thanks!

Please see https://wiki.openstreetmap.org/wiki/Routing

Please specify “best”! Shortest? Fastest? …?

I have two options, so i need shortest and fastest.