This should be enough to get you connected to SCS:
try
{
string server = "tcp://demosrv:7003";
SolutionControlServerProtocol protocol = new SolutionControlServerProtocol(new Endpoint(new Uri(server)));
protocol.Open();
RequestGetApplicationInfo req = RequestGetApplicationInfo.Create();
req.ControlObjectId = 117;
IMessage res = protocol.Request(req);
if(res is EventInfo)
{
EventInfo info = res as EventInfo;
Console.WriteLine("Status: " + info.ControlStatus);//6 = Running
}
Console.WriteLine(res);
}
catch(Exception ex)
{
Console.WriteLine("Error :", ex);
}Do you have the port open on the firewall?
Can you telnet from the PC where you run the code to the SCS host and port?
Do you have to the correct host and port details?