java: public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[FILESHARING]\n");buffer.append("    .readonly       = ").append(getReadOnly() == 1 ? "true" : "false").append("\n");buffer.append("    .password       = ").append(Integer.toHexString(getPassword())).append("\n");buffer.append("    .username       = ").append(getUsername()).append("\n");buffer.append("[/FILESHARING]\n");return buffer.toString();}
C#: public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[FILESHARING]\n");buffer.Append("    .Readonly       = ").Append(ReadOnly == 1 ? "true" : "false").Append("\n");buffer.Append("    .password       = ").Append(StringUtil.ToHexString(Password)).Append("\n");buffer.Append("    .username       = ").Append(Username).Append("\n");buffer.Append("[/FILESHARING]\n");return buffer.ToString();}