API Help
Eplan.EplApi.RemoteClient Namespace / EplanRemoteClient Class
Members

In This Topic
    EplanRemoteClient Class
    In This Topic
    Eplan Remoting Client used to communicate with an Eplan instance. Note that the binding name should be exactly "EplanRemotingClientBindingConfig" otherwise it will be ignored.
    Inheritance Hierarchy

    System.Object
       Eplan.EplApi.RemoteClient.EplanRemoteClient

    Syntax
    [Guid("25B37226-6821-4493-B585-F805EFBC3146")]
    [ComVisible(true)]
    public class EplanRemoteClient 
    [Guid("25B37226-6821-4493-B585-F805EFBC3146")]
    [ComVisible(true)]
    public ref class EplanRemoteClient 
    Remarks
    A client application can has a config file (ApplicationName.exe.config). This allows setting some WCF communication parameters. <configuration> <system.serviceModel> <bindings> <netTcpBinding> <binding name="EplanRemotingClientBindingConfig" sendTimeout="08:00:00"> </binding> </netTcpBinding> </bindings> <client> <endpoint binding="netTcpBinding" bindingConfiguration="EplanRemotingClientBindingConfig" /> </client> </system.serviceModel> </configuration> Be careful when editing WCF communication parameters. If these are not set correctly, the application could not work correctly! Example of a config file for a client application used to set a SendTimeout to 8 hours: SendTimeout is used to initialize the OperationTimeout, which governs the whole process of sending a message, including receiving a reply message for a request/reply service operation. This timeout also applies when sending reply messages from a callback contract method.
    Public Constructors
     NameDescription
    Public ConstructorConstructor.  
    Top
    Public Fields
     NameDescription
    Public FieldHandler to receive Eplan server notifications.  
    Top
    Public Properties
     NameDescription
    Public PropertyLicense file name (*.lis).  
    Public PropertyEplan log-in password used for Rights Management.  
    Public PropertySets and gets the Synchronous mode.  
    Public PropertyEplan log-in user used for Rights Management. User settings will be used from this user.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Connect to Eplan Server.  
    Public MethodDisable synchronizing calls. The execution of remote calls are synchronized in EPLAN. A remote call is executed only if the EPLAN Application is in an idle situation and there is no action running. Otherwise the call will wait until the EPLAN application is idle and no action is running. This property can be used to disable this mode. If calls synchronization is disabled, remote calls are executed in EPLAN although the EPLAN application is not in an idle situation.  
    Public MethodDisconnect from Eplan Server.  
    Public MethodDispose.  
    Public MethodOverloaded. Execute an action.  
    Public MethodGet Eplan Servers which are currently active on local machine.  
    Public Methodstatic (Shared in Visual Basic)Returns first free port which can act as a tunnel for remote server.  
    Public MethodGet Eplan versions which are currently installed on local machine.  
    Public Methodstatic (Shared in Visual Basic)Checks if the port is free.  
    Public MethodPing the Eplan Server.  
    Public MethodOverloaded. Starts an Eplan instance.  
    Public MethodStops the Eplan instance which is connected to the current client.  
    Top
    See Also