WCF: How do I get the list of endpoints from ServiceHost?

I can add endpoints using ServiceHost.AddServiceEndpoint. How do I get that list of endpoints back out?


Use host.Description.Endpoints