Horje
.net core add header to soap request Code Example
.net core add header to soap request
//initialize your service client  
using (OperationContextScope ocs=new OperationContextScope(client.InnerChannel))
    {
        var requestProp = new HttpRequestMessageProperty();
      	request.Headers.Add("yourheadername", "header value");
        OperationContext.Current.OutgoingMessageProperties[HttpRequestMessageProperty.Name] = requestProp;
        //call action ... var result = client.OpAsync();
        // Console.WriteLine(result.Result);
    }




Csharp

Related
unity copy list Code Example unity copy list Code Example
unity how to ommit letters from a string Code Example unity how to ommit letters from a string Code Example
c# int positive only Code Example c# int positive only Code Example
factorial of  number Code Example factorial of number Code Example
oncollisionenter compare tag Code Example oncollisionenter compare tag Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
13