Method IsHardwareKeyboardConnected
IsHardwareKeyboardConnected()
Determines whether a hardware keyboard is currently connected to the device.
public static bool IsHardwareKeyboardConnected()
Returns
- bool
true if a hardware keyboard is connected; otherwise, false.
Remarks
This method checks the current device configuration to detect the presence of a physical (hardware) keyboard. On devices without a hardware keyboard, or if the configuration cannot be determined, the method returns false.