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

Viewed 16208

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

1 Answers

Use host.Description.Endpoints

Related