Over at Dynamics GP Land, Steve Endow shows us how to Check eConnect 2010 Service Status Programmatically. I’ve added a link to the code in the Downloads section as well.
Check eConnect 2010 Service Status Programmatically
Development & IntegrationPayables & ReceivablesInstall, Upgrade & Admin
Archived post from 2010. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.