Here are the examples of the csharp api class Google.Api.Ads.AdWords.Lib.AdWordsSoapHeaderInspector.Validate() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: googleads-dotnet-lib
Source File: AdWordsSoapHeaderInspector.cs
Source File: AdWordsSoapHeaderInspector.cs
public object BeforeSendRequest(ref Message request, IClientChannel channel) { Validate(); // Get the latest user agent with latest feature usage registry. RequestHeader.userAgent = User.Config.GetUserAgent(); // WCF adds an Action header that is irrelevant to AdWords. The only header needed // is the RequestHeader. request.Headers.Clear(); request.Headers.Add(RequestHeader); return null; }