Пример #1
0
 public SmartMirrorClient(EndpointConfiguration endpointConfiguration) :
     base(SmartMirrorClient.GetBindingForEndpoint(endpointConfiguration), SmartMirrorClient.GetEndpointAddress(endpointConfiguration))
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #2
0
 public SmartMirrorClient(EndpointConfiguration endpointConfiguration, System.ServiceModel.EndpointAddress remoteAddress) :
     base(SmartMirrorClient.GetBindingForEndpoint(endpointConfiguration), remoteAddress)
 {
     this.Endpoint.Name = endpointConfiguration.ToString();
     ConfigureEndpoint(this.Endpoint, this.ClientCredentials);
 }
Пример #3
0
 private static System.ServiceModel.Channels.Binding GetDefaultBinding()
 {
     return(SmartMirrorClient.GetBindingForEndpoint(EndpointConfiguration.BasicHttpBinding_ISmartMirror));
 }