<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="IW.DeviceRecovery.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
  </startup>
  <appSettings>
    <add key="LocalizedPerfCounter" value="false" />
    <add key="DownloadItunesLink" value="http://www.apple.com/itunes/download/" />
    <add key="MixPanelApiToken" value="9c72463909bfa18b809ebcccb86f8f81" />
    <add key="IntercomApiToken" value="dG9rOjAxM2NmOTRkXzQ5N2JfNDI0ZF84MWM3X2I1Y2UzZjhkODE2NDoxOjA=" />
    <add key="ProductName" value="Enigma" />
    <add key="ItunesConfigurl" value="https://www.enigma-recovery.com/software/er01installer/itunes/iTunes.xml" />
    <add key="configurl" value="https://www.enigma-recovery.com/software/ER01/Updates/ER_console_{0}.xml" />
    <add key="updateurl" value="version.json" />
  </appSettings>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="Microsoft.Practices.ServiceLocation" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="System.Windows.Interactivity" publicKeyToken="31bf3856ad364e35" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-3.5.0.0" newVersion="3.5.0.0" />
      </dependentAssembly>
      <dependentAssembly>
        <assemblyIdentity name="CommonServiceLocator" publicKeyToken="489b6accfaf20ef0" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.0.3.0" newVersion="2.0.3.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <!-- Log4net Logging Setup -->
  <log4net>
    <appender name="FileAppender" type="log4net.Appender.FileAppender,log4net">
      <file type="log4net.Util.PatternString" value="%envFolderPath{LocalApplicationData}\\EnigmaDigital\\DeviceRecovery.log" />
      <appendToFile value="true" />
      <lockingModel type="log4net.Appender.FileAppender+MinimalLock" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date [%thread] [%level] %logger - %message%newline" />
      </layout>
      <filter type="log4net.Filter.LevelRangeFilter">
        <levelMin value="INFO" />
        <levelMax value="FATAL" />
      </filter>
    </appender>
    <root>
      <level value="INFO" />
      <appender-ref ref="FileAppender" />
    </root>
  </log4net>
  <userSettings>
    <IW.DeviceRecovery.Properties.Settings>
      <setting name="StartAutomaticDeviceScan" serializeAs="String">
        <value>True</value>
      </setting>
      <setting name="DefaultLanguage" serializeAs="String">
        <value>en-US</value>
      </setting>
      <setting name="LanguageChangedByUser" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="CallUpgrade" serializeAs="String">
        <value>True</value>
      </setting>
      <setting name="IsAutoUpdate" serializeAs="String">
        <value>True</value>
      </setting>
      <setting name="CL" serializeAs="String">
        <value>Trial</value>
      </setting>
      <setting name="IsInstanceFirstRun" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="HasPopupBeenDisplayedInSession" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="IsLT" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="IsFirstLaunch" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="ChatUrl" serializeAs="String">
        <value>https://www.enigma-recovery.com/software/ER01/IntercomChat.html</value>
      </setting>
      <setting name="HasUserCustomDriveForScanSession" serializeAs="String">
        <value>False</value>
      </setting>
      <setting name="UserCustomDriveForScanSession" serializeAs="String">
        <value />
      </setting>
    </IW.DeviceRecovery.Properties.Settings>
  </userSettings>
</configuration>