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