RepositoryAddresses Property
This example shows how to set up 2 different repositories - one to use secure and one to use insecure communications.
XdsDomain Domain = new XdsDomain();
X509Certificate2 Certificate = new X509Certificate2();
//Load certificate from Store or file
Domain.RepositoryAddresses.Add("1.2.840.99999.1.2.3", new XdsEndpoint("http://insecure/Retrieve");
Domain.RepositoryAddresses.Add("1.2.840.99999.1.2.3.4", new XdsEndpoint("https://secure/Retrieve", Certificate));
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2