bool GetPortState(string)
Gets the on/off or high/low state of a port/pin.
Security
Trust Level Required: Full Trust
Parameters
Name | Description |
index |
int The port/pin index. |
deviceName |
(Optional) string The name of the device, as specified in the Config Tool. Default: null. |
Return
The current port/pin state.