Green Wireframe Length

Is there any way to get green wireframe lines length from mesh collider? I need to find the longest line.139588-przechwytywanie.png

I Found a solution. I used GetIndices and GetVertices to calculate that