<PackageReference Include="System.ServiceModel.Primitives" Version="8.1.2" />

System.ServiceModel.Security.X509CertificateRecipientClientCredential

public X509Certificate2 DefaultCertificate { get; set; }

public void SetDefaultCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName)

public void SetDefaultCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue)

public void SetScopedCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName, Uri targetService)

public void SetScopedCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue, Uri targetService)