public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) { var inspector = new HeaderInspector("User-Agent", UserAgent); clientRuntime.MessageInspectors.Add(inspector); }
public void ApplyClientBehavior(ServiceEndpoint endpoint, ClientRuntime clientRuntime) { var inspector = new HeaderInspector("User-Agent", UserAgent); clientRuntime.ClientMessageInspectors.Add(inspector); }