protected override ServiceEndpoint CreateServiceEndpoint(ContractDescription contractDescription) { UdpSecureDiscoveryEndpoint endpoint = new UdpSecureDiscoveryEndpoint( this.DiscoveryVersion, this.SigningCertificateStoreSettingsElement.StoreSettings); endpoint.ReceivedCertificatesStoreSettings = this.ReceivedCertificatesStoreSettingsElement.StoreSettings; return(endpoint); }
protected override void InitializeFrom(ServiceEndpoint endpoint) { base.InitializeFrom(endpoint); UdpSecureDiscoveryEndpoint source = (UdpSecureDiscoveryEndpoint)endpoint; this.ReceivedCertificatesStoreSettingsElement.ApplySettings(source.ReceivedCertificatesStoreSettings); this.SigningCertificateStoreSettingsElement.ApplySettings(source.SigningCertificateStoreSettings); this.DiscoveryVersion = source.DiscoveryVersion; }
protected override ServiceEndpoint CreateServiceEndpoint(ContractDescription contractDescription) { UdpSecureDiscoveryEndpoint endpoint = new UdpSecureDiscoveryEndpoint( this.DiscoveryVersion, this.SigningCertificateStoreSettingsElement.StoreSettings); endpoint.ReceivedCertificatesStoreSettings = this.ReceivedCertificatesStoreSettingsElement.StoreSettings; return endpoint; }