You are here: Symbol Reference
Symbol Reference
> Ofcas.Lk.Api.Client.Ui Namespace > Classes > ServiceProxyUi<TService, TCoreObject> Class > ServiceProxyUi<TService, TCoreObject> Methods > ServiceProxyUi<TService, TCoreObject>.Login Method
ServiceProxyUi<TService, TCoreObject>.Login Method
Close
Ofcas.Lk.Api.Client - Version 3.0
ServiceProxyUi<TService, TCoreObject>.Login Method

Login to the API to get access to projects, elvations etc. . Without login no access to the API is available. Attention: Before a login is possible, the service must be started (Start).

Syntax
C#
public IDialogResult<TCoreObject> Login(string programMode, IntPtr applicationHandle, TimeSpan synchronizeInterval = default(TimeSpan));
Parameters
Description
string programMode
The program mode provided from Orgadata for the associated partner
IntPtr applicationHandle
The handle from a window of the user application.
TimeSpan synchronizeInterval = default(TimeSpan)
The interval to synchronize the core objects in multi-client mode. If the value is TimeSpan.Zero no synchronization will be active.

The a dialog result with the specific TCoreObject to interact with LogiKal.

Exceptions
Description
ArgumentException
Occurs if any arugment is invalid.
Occurs if any error occurs.
Copyright © 2020. All rights reserved.