namespace ScreenConnect; public static class ClientTypeInfo { public static bool IsMobile(ClientType clientType) { if ((uint)(clientType - 3) <= 2u) { return true; } return false; } public static bool IsJavaApplication(ClientType clientType) { if (clientType == ClientType.JavaSwing || (uint)(clientType - 6) <= 1u) { return true; } return false; } }