<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
  </configSections>
  <appSettings>
    <add key="RegisterForWlanNotification" value="false" />
    <add key="Usbdeviceconnected" value="false" />
    <add key="WaitForWlanNotification" value="true" />
    <add key="WlanNotificationWaitTimeoutSec" value="4" />
    <add key="AppFolderName" value="HP_Easy_Start" />
    <add key="ClientParamValue" value="WinSwSetup20" />
    <add key="SortStoreApp" value="1" />
    <add key="SortFullSolution" value="2" />
    <add key="SortBasicSolution" value="3" />
    <add key="SortModernSolution" value="4" />
    <add key="SortOther" value="5" />
    <add key="MaxAwcDiscoveryCycles" value="6" />
    <add key="MaxAwcRetryAttempts" value="3" />
    <!-- Xmo2TimeOut value changed in seconds; default value is 120 seconds -->
    <add key="Xmo2TimeOut" value="120" />
    <!--Each tick is 5 sec.-->
    <!-- <add key="SsidListLog" value ="SsidListLogval" /> -->
    <add key="NewPrinterDetectTickCount" value="6" />
    <add key="ClientSettingsProvider.ServiceUri" value="" />
  </appSettings>
  <nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <targets async="true">
      <target name="fileoutput" xsi:type="File" layout="[${longdate}] - [${threadid}] - ${level} : ${logger}.${callsite:className=False:fileName=False:includeSourcePath=False:methodName=True}() - ${message}${onexception:inner=${newline}!!!!!!!!!!!!!!!!!!!${newline}${exception:format=type,message,method,stacktrace:maxInnerExceptionLevel=5:innerFormat=shortType,message,method,stacktrace}${newline}${stacktrace}${newline}!!!!!!!!!!!!!!!!!!!}" header="${newline}*************************** Started ${processname} - ${longdate} ***************************${newline}" footer="${newline}########################### Finished ${processname} - ${longdate} ##########################${newline}" fileName="${tempdir}/HP.EasyStart.log"></target>
      <target name="analyticsoutput" xsi:type="File" layout="${message}" header="*************************** Analytics Log ${processname} - ${longdate} ***************************" fileName="${tempdir}/HP.EasyStart.Analytics.log" deleteOldFileOnStartup="true"></target>
      <target name="ssidoutput" xsi:type="File" layout="${message}" header="${newline}*************************** HP EasyStart AWC Help Log  - ${longdate} ***************************${newline}" fileName="${specialfolder:folder=Desktop:file=HP.EasyStart.SSIDlist.log} " footer="${newline}########################### Finished ${processname} - ${longdate} ##########################${newline}"></target>
      <!--<target name="DebugWindow" xsi:type="RichTextBox"
              height="400"
              width="600"
              autoscroll="true"
              maxLines="0"
              showMinimized="false"
              toolWindow="true"
              useDefaultRowColoringRules="true"
              layout="[${longdate}] - ${level} - ${message}">
      </target>-->
    </targets>
    <rules>
      <logger name="OwsCommunication*" minlevel="Trace" writeTo="fileoutput" />
      <logger name="*" minlevel="Debug" maxLevel="Error" writeTo="fileoutput">
        <filters>
          <when condition="contains('${logger}','OwsCommunication')" action="Ignore" />
        </filters>
      </logger>
      <logger name="*" maxLevel="Info" minlevel="Info" writeTo="analyticsoutput" />
      <!--<logger name="*" minlevel="Debug" writeTo="DebugWindow"/>-->
      <logger name="ConnectWireless*" maxLevel="Fatal" minlevel="Fatal" writeTo="ssidoutput" />
    </rules>
  </nlog>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  </startup>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="Languages;" />
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.Serialization.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <!-- <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />-->
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <!--<bindingRedirect oldVersion="0.0.0.0-4.1.1.2" newVersion="4.1.1.2" />-->
        <!--<bindingRedirect oldVersion="0.0.0.0-4.1.1.2" newVersion="4.2.0.0" />-->
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
        <!-- <bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" /> -->
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.Serialization.Xml" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
        <bindingRedirect oldVersion="0.0.0.0-4.1.3.0" newVersion="4.1.3.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Security.Cryptography.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <!--<bindingRedirect oldVersion="0.0.0.0-4.0.1.0" newVersion="4.0.1.0" /> -->
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Net.NetworkInformation" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <!--<bindingRedirect oldVersion="0.0.0.0-4.1.1.0" newVersion="4.1.1.0" /> -->
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Bcl.AsyncInterfaces" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Web.WebView2.Wpf" publicKeyToken="2a8ab48044d2601e" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.0.1210.30" newVersion="1.0.1210.30" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Web.WebView2.Core" publicKeyToken="2a8ab48044d2601e" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.0.1210.30" newVersion="1.0.1210.30" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.IdentityModel.Tokens.Jwt" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.5.0.0" newVersion="5.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.IdentityModel.Tokens" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-5.5.0.0" newVersion="5.5.0.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <system.web>
    <membership defaultProvider="ClientAuthenticationMembershipProvider">
      <providers>
        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
      </providers>
    </membership>
    <roleManager defaultProvider="ClientRoleProvider" enabled="true">
      <providers>
        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
      </providers>
    </roleManager>
  </system.web>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  </startup>
  <!--Fix for-->
  <!--https://jira.cso-hp.com/browse/CSCRDAC-1003-->
</configuration>