internal void ApplyConfiguration(X509CertificateRecipientClientCredential creds)
 {
     if (creds == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("creds");
     }
     PropertyInformationCollection properties = base.ElementInformation.Properties;
     if (((properties["targetUri"].ValueOrigin != PropertyValueOrigin.Default) || (properties["storeLocation"].ValueOrigin != PropertyValueOrigin.Default)) || (((properties["storeName"].ValueOrigin != PropertyValueOrigin.Default) || (properties["x509FindType"].ValueOrigin != PropertyValueOrigin.Default)) || (properties["findValue"].ValueOrigin != PropertyValueOrigin.Default)))
     {
         creds.SetScopedCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue, this.TargetUri);
     }
 }
 internal void ApplyConfiguration(X509CertificateRecipientClientCredential creds)
 {
     if (creds == null)
     {
         throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("creds");
     }
     PropertyInformationCollection propertyInfo = this.ElementInformation.Properties;
     if (propertyInfo[ConfigurationStrings.TargetUri].ValueOrigin != PropertyValueOrigin.Default
         || propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default
         || propertyInfo[ConfigurationStrings.StoreName].ValueOrigin != PropertyValueOrigin.Default
         || propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default
         || propertyInfo[ConfigurationStrings.FindValue].ValueOrigin != PropertyValueOrigin.Default)
     {
         creds.SetScopedCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue, this.TargetUri);
     }
 }