--- substitutions: method: |- ```{image} ico/method.ico ``` prop: |- ```{image} ico/prop.ico ``` --- # IErpClient Interface Provides the base interface for the [ErpClient](/code_reference/net_library/erpclient) class. **Namespace:** powerGate.Erp.Client\ **Assembly:** powerGate.Erp.Client.dll ## Syntax ```{code-block} CSharp :linenos: public interface IErpClient : IDisposable ``` ## Properties | Type | Name | Description | |----------------------------------------|-----------------------------------------------|-------------| | {{prop}} [IErpServices](ierpservices) | Services Gets the list of connected services. | | ## Methods | Type | Name | Description | |----------------------------------------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | {{method}} [IErpService](ierpservice) | ConnectErp([ConnectionSettings](connectionsettings) connectionSettings) | Creates a connection to a service using the specified [ConnectionSettings](connectionsettings). | | {{method}} void | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from [IDisposable](https://msdn.microsoft.com/en-us/library/system.idisposable(v=vs.110).aspx).) | ## Extension Methods | Type | Name | Description | |----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------| | {{method}} [IErpService][] | ConnectErp(Uri service = null, ICredentials credentials = null, bool ignoreCertificates = false, Action\<[ErpClientSettings][]\> onConnect = null) | Overloaded. Creates a connection to a service using the specified parameter values. | [IErpService]: ierpservice [ErpClientSettings]: erpclientsettings ## See also **Reference** - [powerGate.Erp.Client namespace](/code_reference/net_library)