// Decompiled with JetBrains decompiler // Type: stub.My.MySettings // Assembly: stub, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null // MVID: 3D682C4E-BB75-4F82-AFDC-65E8B4031409 // Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Trojan.Win32.Llac.csye-7764f4aeaf305a644b70f22beaf51cde681b4e6fbc68c3e4bcfa2c979a7348ed.exe using Microsoft.VisualBasic.ApplicationServices; using Microsoft.VisualBasic.CompilerServices; using System; using System.CodeDom.Compiler; using System.ComponentModel; using System.Configuration; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading; namespace stub.My { [CompilerGenerated] [EditorBrowsable(EditorBrowsableState.Advanced)] [GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")] internal sealed class MySettings : ApplicationSettingsBase { private static MySettings defaultInstance = (MySettings) SettingsBase.Synchronized((SettingsBase) new MySettings()); private static bool addedHandler; private static object addedHandlerLockObject = RuntimeHelpers.GetObjectValue(new object()); [DebuggerNonUserCode] public MySettings() { } [EditorBrowsable(EditorBrowsableState.Advanced)] [DebuggerNonUserCode] private static void AutoSaveSettings(object sender, EventArgs e) { if (!MyProject.Application.SaveMySettingsOnExit) return; MySettingsProperty.Settings.Save(); } public static MySettings Default { get { if (!MySettings.addedHandler) { object handlerLockObject = MySettings.addedHandlerLockObject; ObjectFlowControl.CheckForSyncLockOnValueType(handlerLockObject); Monitor.Enter(handlerLockObject); try { if (!MySettings.addedHandler) { MyProject.Application.Shutdown += (ShutdownEventHandler) ((sender, e) => { if (!MyProject.Application.SaveMySettingsOnExit) return; MySettingsProperty.Settings.Save(); }); MySettings.addedHandler = true; } } finally { Monitor.Exit(handlerLockObject); } } return MySettings.defaultInstance; } } } }