static void Main(string[] args) { WCFMonitorClient proxy = new WCFMonitorClient("monitor"); PermissiveCertificatePolicy.Enact("CN=localhost"); try { string[] services = proxy.GetServices(); Console.WriteLine("Serivces" + Environment.NewLine + "-----------------"); foreach (string service in services) { Console.WriteLine(service); } Console.WriteLine("-----------------" + Environment.NewLine); string retval = proxy.GetProcessInfo("Seahawks"); Console.WriteLine(retval); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } }