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