// Decompiled with JetBrains decompiler // Type: RegAsm.Resource // Assembly: RegAsm, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // MVID: 0D2001F8-49C5-49A7-BF2D-B8D87970A226 // Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Virus.Win32.Sality.q-546c12c90ae93fcd5a74cdd328faf956effcec6da290a1b13f3f45331b4d58cd.exe using System; using System.Globalization; using System.Reflection; using System.Resources; namespace RegAsm { internal class Resource { private static ResourceManager _resmgr; private static void InitResourceManager() { if (Resource._resmgr != null) return; Resource._resmgr = new ResourceManager("RegAsm", Assembly.GetAssembly(typeof (RegAsm.RegAsm))); } internal static string GetString(string key) { Resource.InitResourceManager(); return Resource._resmgr.GetString(key, (CultureInfo) null) ?? throw new ApplicationException("FATAL: Resource string for '" + key + "' is null"); } internal static string FormatString(string key) => Resource.GetString(key); internal static string FormatString(string key, object a1) => string.Format(Resource.GetString(key), a1); internal static string FormatString(string key, object a1, object a2) => string.Format(Resource.GetString(key), a1, a2); internal static string FormatString(string key, object a1, object a2, object a3) => string.Format(Resource.GetString(key), a1, a2, a3); internal static string FormatString(string key, object[] a) => string.Format(Resource.GetString(key), a); } }