Node.connectionIsEncrypted

class Node
bool
connectionIsEncrypted
(
uinteger conID
)

Return Value

Type: bool

true if a connection has sent public key and messages sent to it are encrypted

This returning true only ensures that messages being sent to that connection are encrypted, for messages being received, check if a NetEvent with conID=this-connection and type==MessageEvent||PartMessageEvent has NetEvent.encrypted=true

Meta