/// <summary> /// Register the custom auth module to support non-ascii upn authentication if the server supports that /// </summary> internal void RegisterCustomBasicAuthModule() { if (this.RequestedServerVersion >= ExchangeVersion.Exchange2013_SP1) { BasicAuthModuleForUTF8.InstantiateIfNeeded(); } }
/// <summary> /// Instantiation /// </summary> public static void InstantiateIfNeeded() { lock (lockObject) { if (authModule == null) { authModule = new BasicAuthModuleForUTF8(); } } }