protected bool SetupHttpsConnection() { sutControlAdapter.ClearCache(testConfig.HostedCacheServerComputerFQDNOrNetBiosName); int timeout = 20000; byte[] content = TestUtility.GenerateRandomArray(10); HttpClientTransport testClient = new HttpClientTransport( TransferProtocol.HTTPS, testConfig.HostedCacheServerComputerName, testConfig.HostedCacheServerHTTPSListenPort, PchcConsts.HttpsUrl, testConfig.DomainName, testConfig.UserName, testConfig.UserPassword); try { testClient.Send(HttpVersion.Version10, null, content, HttpMethod.POST, timeout); } catch (Exception) { return(false); } finally { testClient.Dispose(); } return(true); }