--- myst: substitutions: method: |- ```{image} /img/code_reference/net_library/method.ico ``` prop: |- ```{image} /img/code_reference/net_library/prop.ico ``` --- # IErpClient Interface Provides the base interface for the [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]() | Services Gets the list of connected services. | | ## Methods | Type | Name | Description | |----------------------------------------|--------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | {{method}} [IErpService]() | ConnectErp([ConnectionSettings]() connectionSettings) | Creates a connection to a service using the specified [ConnectionSettings](). | | {{method}} void | Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.(Inherited from [IDisposable]().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]()