How do i get the "real" size of a prefab?

Hi, im trying to get the center of a prefab, this prefab is the player, but i tried to use `GameObject.Transform.localScale` but like the name of the atribute says, it gives me the scale. I think that i need to get the mesh size to get the center, but i cant find the way to get this values.

Is there any easy way to get the mesh size using C#?

Or is there any script that returns me the center of the object?

Renderer.bounds, or Mesh.bounds (AABB).