SetCustomUserAgent method

void SetCustomUserAgent(
  1. String userAgent
)
Register the custom auth module to support non-ascii upn authentication if the server supports that Sets the user agent to a custom value User agent String to set on the service

Implementation

//        void RegisterCustomBasicAuthModule()
//        {
//            if (this.RequestedServerVersion.index >= ExchangeVersion.Exchange2013_SP1.index)
//            {
//                BasicAuthModuleForUTF8.InstantiateIfNeeded();
//            }
//        }

/// <summary>
/// Sets the user agent to a custom value
/// </summary>
/// <param name="userAgent">User agent String to set on the service</param>
void SetCustomUserAgent(String userAgent) {
  this._userAgent = userAgent;
}