public RemoteAttachment[] getAttachments(string in0, long in1) { object[] results = this.Invoke("getAttachments", new object[] { in0, in1}); return ((RemoteAttachment[])(results[0])); }