data.setLittleEndian16(passlen);
data.setLittleEndian16(commandlen);
data.setLittleEndian16(dirlen);
data.outUnicodeString(domain, domainlen);
data.outUnicodeString(username, userlen);
data.outUnicodeString(password, passlen);
data.outUnicodeString(command, commandlen);
data.outUnicodeString(directory, dirlen);
if (RDPConnection.conf.use_rdp5 && 1 != RDPConnection.conf.server_rdp_version) {
// logger.debug("Sending RDP5-style Logon packet");