Code: Select all
class Program
{
static void Main(string[] args)
{
using (var client = new MantisConnectPortTypeClient())
{
client.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://mantis.***.com/api/soap/mantisconnect.php");
Console.WriteLine(client.mc_version());
}
}
}