/// <summary> /// Instantiate MessageReceived Client with User Provided Certificate and Password. /// </summary> private static messageReceivedClient getMessagesClient(X509Certificate2 certificate) { var client = new messageReceivedClient(); client.ClientCredentials.ClientCertificate.Certificate = certificate; return client; }
/// <summary> /// Instantiate MessageReceived Client with User Provided Certificate and Password. /// </summary> private static messageReceivedClient getMessagesClient(X509Certificate2 certificate) { var client = new messageReceivedClient(); client.ClientCredentials.ClientCertificate.Certificate = certificate; return(client); }