📚 SAP Business One SDK Help

ClientType Property
See Also  Example

Description

Identifies if the SAP Business One client is operating in Windows desktop mode or Browser
Access mode.

Property type

Read-only property

Syntax

Visual Basic
Public Property ClientType() As BoClientType

Example

C#Copy Code
if (SBO_Application.ClientType == BoClientType.ct_Browser) 

//code runs in the Browser Access mode 

if (SBO_Application.ClientType == BoClientType.ct_Desktop) 

//code runs in the Windows desktop mode 
}

See Also