Recommended way to get UAnimSequence from SkeletalMesh

Hello,

What is the C++ recommended way to retrieve the current UAnimSequence used for any SkeletalMesh component animated in Sequencer tool?

Thanks