Пример #1
0
 private static System.ServiceModel.EndpointAddress GetDefaultEndpointAddress()
 {
     return(WslAntiMalwareSystemServiceEndpointClientBase.GetEndpointAddress(EndpointConfiguration.NetTcpBinding_IWslAntiMalwareSystemServiceEndpoint));
 }
Пример #2
0
 public WslAntiMalwareSystemServiceEndpointClientBase(System.ServiceModel.InstanceContext callbackInstance, EndpointConfiguration endpointConfiguration) :
     base(callbackInstance, WslAntiMalwareSystemServiceEndpointClientBase.GetBindingForEndpoint(endpointConfiguration), WslAntiMalwareSystemServiceEndpointClientBase.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }