Brep face edges

What would be the way to get brep edges per surface via RhinoCommon?

Do I need to explode it first and then take edges individually?
Or there is a quicker way?

Found it.

I looped through brep face adjacent edges .