User1001868398 posted
pub.Publish_Ref(myRes.ID, cfg.AppSettings.Settings["userName"].Value, cfg.AppSettings.Settings["password"].Value, 0, 0);
First parameter? What's the signatures for that method?
Becuase the method is called _Ref is it asking for you to pass only reference?
pub.Publish_Ref(ref myRes, ref cfg.AppSettings.Settings["userName"].Value, ref cfg.AppSettings.Settings["password"].Value, 0, 0);
Please post the definitions