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