I am trying to create a xml-rpc client application using c#. However I need to make host address a variable. I am fairly new to c# and having difficulties when trying to add variables in attributes.
using CookComputing.XmlRpc;
public struct SumAndDiffValue
{
public int sum;
public int difference;
}
[XmlRpcUrl("http://www.cookcomputing.com/sumAndDiff.rem")]
public interface ISumAndDiff : IXmlRpcProxy
{
[XmlRpcMethod]
SumAndDiffValue SumAndDifference(int x, int y);
}
Now I want to add variable in
[XmlRpcUrl("hostAddress")]
Are there any examples/references that are helpful?