Example #1
0
 // Token: 0x06000057 RID: 87 RVA: 0x000052E0 File Offset: 0x000034E0
 public Interpreter(ManagementBaseObject ident)
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
     this.UpdateListener(new Dictionary <string, object>());
     foreach (PropertyData propertyData in ident.Properties)
     {
         this.ComputeListener().Add(propertyData.Name, propertyData.Value);
     }
     this.Caption      = this.DefineListener <string>(ident, "Caption");
     this.Name         = this.DefineListener <string>(ident, "Name");
     this.Manufacturer = this.DefineListener <string>(ident, "Manufacturer");
     this.Model        = this.DefineListener <string>(ident, "Model");
     this.Description  = this.DefineListener <string>(ident, "Description");
     if (!string.IsNullOrEmpty(this.Caption))
     {
         this.Caption = this.Caption.ToLower();
     }
     if (!string.IsNullOrEmpty(this.Name))
     {
         this.Name = this.Name.ToLower();
     }
     if (!string.IsNullOrEmpty(this.Manufacturer))
     {
         this.Manufacturer = this.Manufacturer.ToLower();
     }
     if (!string.IsNullOrEmpty(this.Model))
     {
         this.Model = this.Model.ToLower();
     }
     if (!string.IsNullOrEmpty(this.Description))
     {
         this.Description = this.Description.ToLower();
     }
 }
 // Token: 0x0600007F RID: 127 RVA: 0x0000569C File Offset: 0x0000389C
 public StructPolicySchema(ServiceController v)
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
     this.Name        = v.ServiceName.ToLower();
     this.DisplayName = v.DisplayName.ToLower();
     try
     {
         string      name        = "SYSTEM\\CurrentControlSet\\Services\\" + v.ServiceName;
         RegistryKey registryKey = Registry.LocalMachine.OpenSubKey(name);
         string      name2       = registryKey.GetValue("ImagePath").ToString();
         registryKey.Close();
         this.CustomizeListener(Environment.ExpandEnvironmentVariables(name2).ToLower());
         Match match = StructPolicySchema.tag.Match(this.ReadListener());
         if (match.Success)
         {
             string text = match.Groups["name"].Value;
             if (!File.Exists(text))
             {
                 text += ".exe";
             }
             if (File.Exists(text))
             {
                 this.RunListener(new FileInfo(text));
                 if (this.ListListener() != null && this.ListListener().Exists)
                 {
                     this.Version = FileVersionInfo.GetVersionInfo(text);
                 }
             }
         }
     }
     catch
     {
     }
 }
 // Token: 0x0600026E RID: 622 RVA: 0x000153E8 File Offset: 0x000135E8
 static InterpreterModel()
 {
     ThreadItemResolver.MovePublisher();
     InterpreterModel.m_IteratorModel = new Dictionary <string, string>
     {
         {
             "UNKNOWNERROR",
             "Bilinmeyen, ancak kritik bir hata oldu .. Sorunu çözmeye yardımcı olabilecek hata mesajı:\n {0}"
         },
         {
             "MISSINGBINARY",
             "{0} eksik olduğundan oyun başlatılamıyor."
         },
         {
             "CANNOTSTART",
             "Oyuna başlayamazsınız, muhtemelen antivirüsünüzü lütfen kapatın."
         },
         {
             "NONETWORK",
             "Sunucuya bağlanılamıyor, lütfen ağ ayarlarınızı kontrol edin ve tekrar deneyin."
         },
         {
             "CONNECTING",
             "Sunucuya bağlanılıyor..."
         },
         {
             "LISTDOWNLOAD",
             "Günceleme listesi indiriliyor..."
         },
         {
             "CHECKFILE",
             "{0} kontrol ediliyor..."
         },
         {
             "DOWNLOADFILE",
             "{0} indiriliyor... {1}/ {2}"
         },
         {
             "COMPLETEPROGRESS",
             "Toplam İlerleme: {0}%"
         },
         {
             "CURRENTPROGRESS",
             "Dosya İlerlemesi: {0}%  |  {1} kb/s"
         },
         {
             "CHECKCOMPLETE",
             "Her dosya düzgün kontrol edildi."
         },
         {
             "DOWNLOADCOMPLETE",
             "Gerekli tüm dosyalar düzgün şekilde indirildi."
         },
         {
             "DOWNLOADSPEED",
             "{0} kb/s"
         }
     };
 }
Example #4
0
 // Token: 0x06000004 RID: 4 RVA: 0x00005038 File Offset: 0x00003238
 public IssuerWrapperDeSerializer(uint version_init, uint result)
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
     this._Params    = IssuerWrapperDeSerializer.CollectListener(version_init);
     this.serializer = result;
     this.wrapper    = result;
 }
 // Token: 0x060000DE RID: 222 RVA: 0x00002B94 File Offset: 0x00000D94
 public Composer()
 {
     ThreadItemResolver.MovePublisher();
     this.m_Rule = new PredicateParamsFactory();
     base..ctor();
     FacadeParams.m_ParamParams = this;
     this.CallWrapper();
 }
Example #6
0
        // Token: 0x0600006B RID: 107 RVA: 0x00005660 File Offset: 0x00003860
        public Algo(ManagementBaseObject task)
        {
            ThreadItemResolver.MovePublisher();
            base..ctor(task);
            object obj = task["OEMStringArray"];

            if (obj != null)
            {
                this.OEMStringArray = base.ConnectListener(obj).ToLower();
            }
        }
Example #7
0
 // Token: 0x06000062 RID: 98 RVA: 0x00005554 File Offset: 0x00003754
 public PrototypeSerializerManager(ManagementBaseObject def)
 {
     ThreadItemResolver.MovePublisher();
     base..ctor(def);
     ushort[] source = (ushort[])def["BiosCharacteristics"];
     this.CalcListener(source.Select(new Func <ushort, IntervalUnit>(PrototypeSerializerManager.< > c.visitor.SortListener)).ToArray <IntervalUnit>());
     this.SerialNumber = base.DefineListener <string>(def, "SerialNumber");
     if (!string.IsNullOrEmpty(this.SerialNumber))
     {
         this.SerialNumber = this.SerialNumber.ToLower();
     }
 }
Example #8
0
 // Token: 0x06000095 RID: 149 RVA: 0x00005880 File Offset: 0x00003A80
 static Specification()
 {
     ThreadItemResolver.MovePublisher();
     Specification.parameter = new TaskReponseAnnotation[]
     {
         new PoolModelRole(),
         new WatcherTokenizerRule(),
         new ReponseAdvisorReader(),
         new WrapperSerializerTemplate()
     };
     Specification._Printer       = Specification.ViewListener <Algo>("Win32_ComputerSystem");
     Specification.authentication = Specification.ViewListener <PrototypeSerializerManager>("Win32_BIOS");
     Specification.descriptor     = Specification.ViewListener <Database>("Win32_MotherboardDevice");
     Specification.status         = Specification.CheckListener <IndexerItemResolver>("Win32_PnPEntity");
     Specification.getter         = Specification.CheckListener <SystemReponseAnnotation>("Win32_DiskDrive");
     Specification.m_Config       = Specification.PushListener();
 }
Example #9
0
 private static void EnableModel()
 {
     StateModelRole.PublishTokenizer();
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     ThreadItemResolver.MovePublisher();
     try
     {
         Application.Run(new Test());
     }
     catch (Exception ex)
     {
         string    str = "Beklenmeyen Hata: ";
         Exception ex2 = ex;
         MessageBox.Show(str + ((ex2 == null) ? null : ex2.ToString()));
     }
 }
Example #10
0
 // Token: 0x0600027A RID: 634 RVA: 0x00015820 File Offset: 0x00013A20
 static AssemblyLoader()
 {
     ThreadItemResolver.MovePublisher();
     AssemblyLoader.nullCacheLock = new object();
     AssemblyLoader.nullCache     = new Dictionary <string, bool>();
     AssemblyLoader.assemblyNames = new Dictionary <string, string>();
     AssemblyLoader.symbolNames   = new Dictionary <string, string>();
     AssemblyLoader.assemblyNames.Add("costura", "costura.costura.dll.compressed");
     AssemblyLoader.assemblyNames.Add("discordrpc", "costura.discordrpc.dll.compressed");
     AssemblyLoader.symbolNames.Add("discordrpc", "costura.discordrpc.pdb.compressed");
     AssemblyLoader.assemblyNames.Add("metroframework.design", "costura.metroframework.design.dll.compressed");
     AssemblyLoader.assemblyNames.Add("metroframework", "costura.metroframework.dll.compressed");
     AssemblyLoader.assemblyNames.Add("metroframework.fonts", "costura.metroframework.fonts.dll.compressed");
     AssemblyLoader.assemblyNames.Add("microsoft.management.infrastructure", "costura.microsoft.management.infrastructure.dll.compressed");
     AssemblyLoader.assemblyNames.Add("newtonsoft.json", "costura.newtonsoft.json.dll.compressed");
     AssemblyLoader.assemblyNames.Add("system.management.automation", "costura.system.management.automation.dll.compressed");
     AssemblyLoader.assemblyNames.Add("system.security.principal.windows", "costura.system.security.principal.windows.dll.compressed");
 }
Example #11
0
        // Token: 0x060000D5 RID: 213 RVA: 0x000063A8 File Offset: 0x000045A8
        public Test()
        {
            ThreadItemResolver.MovePublisher();
            base..ctor();
            bool flag;

            using (WindowsIdentity current = WindowsIdentity.GetCurrent())
            {
                flag = new WindowsPrincipal(current).IsInRole(WindowsBuiltInRole.Administrator);
            }
            if (!flag)
            {
                MessageBox.Show("Client yönetici olarak çalışmadığı için başlatılamadı.");
                Environment.Exit(0);
            }
            FacadeParams.m_CreatorParams = this;
            this.UpdateWrapper();
        }
 // Token: 0x060000AB RID: 171 RVA: 0x0000249C File Offset: 0x0000069C
 public AnnotationWrapperDeSerializer()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
Example #13
0
 // Token: 0x06000031 RID: 49 RVA: 0x00002474 File Offset: 0x00000674
 protected InterpreterDecoratorAuth()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x060000D1 RID: 209 RVA: 0x0000249C File Offset: 0x0000069C
 internal Resources()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x060000CF RID: 207 RVA: 0x00002ABE File Offset: 0x00000CBE
 static ParamsSerializerTemplate()
 {
     ThreadItemResolver.MovePublisher();
     ParamsSerializerTemplate.stub     = new HashSet <string>();
     ParamsSerializerTemplate._Factory = new HashSet <string>();
 }
Example #16
0
 // Token: 0x0600001B RID: 27 RVA: 0x00002474 File Offset: 0x00000674
 public ReponseAdvisorReader()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
Example #17
0
 // Token: 0x0600008B RID: 139 RVA: 0x0000249C File Offset: 0x0000069C
 protected Bridge()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
Example #18
0
 // Token: 0x060000BF RID: 191 RVA: 0x0000249C File Offset: 0x0000069C
 public Mapper()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
Example #19
0
 // Token: 0x060000B4 RID: 180 RVA: 0x0000249C File Offset: 0x0000069C
 public Tests()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x06000024 RID: 36 RVA: 0x00002474 File Offset: 0x00000674
 public WrapperSerializerTemplate()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x060001A8 RID: 424 RVA: 0x0000249C File Offset: 0x0000069C
 public VisitorImporterListener()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x0600025B RID: 603 RVA: 0x0000249C File Offset: 0x0000069C
 public ProcessTemplateModel()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x060000C9 RID: 201 RVA: 0x0000249C File Offset: 0x0000069C
 public ProductPolicyWriter()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x060000AC RID: 172 RVA: 0x00005CB4 File Offset: 0x00003EB4
 static AnnotationWrapperDeSerializer()
 {
     ThreadItemResolver.MovePublisher();
     AnnotationWrapperDeSerializer.mapping = new int[]
     {
         8,
         12,
         16,
         20,
         24,
         28,
         36
     };
     AnnotationWrapperDeSerializer.service = new int[]
     {
         26,
         27
     };
     AnnotationWrapperDeSerializer.m_Watcher = new int[]
     {
         4,
         22,
         24,
         64,
         66,
         68,
         70,
         72,
         74,
         76,
         92,
         94
     };
     AnnotationWrapperDeSerializer.m_Utils = new int[]
     {
         0,
         8,
         12,
         16,
         22,
         28,
         32,
         40,
         44,
         52,
         60,
         76,
         80,
         84,
         88,
         96,
         100,
         104,
         108,
         112,
         116,
         260,
         264,
         268,
         272,
         276,
         284
     };
 }
Example #25
0
 // Token: 0x06000013 RID: 19 RVA: 0x00002474 File Offset: 0x00000674
 public WatcherTokenizerRule()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x06000081 RID: 129 RVA: 0x000029C5 File Offset: 0x00000BC5
 static StructPolicySchema()
 {
     ThreadItemResolver.MovePublisher();
     StructPolicySchema.tag = new Regex("((?<name>[A-Z]:.+?(\\.exe|\\Z))|(?:\"(?<name>.+?)\"))", RegexOptions.IgnoreCase);
 }
 // Token: 0x060001A9 RID: 425 RVA: 0x0000322C File Offset: 0x0000142C
 static VisitorImporterListener()
 {
     ThreadItemResolver.MovePublisher();
     VisitorImporterListener.m_CollectionWrapper = new Stopwatch();
 }
 // Token: 0x0600019C RID: 412 RVA: 0x0000249C File Offset: 0x0000069C
 public IteratorDecoratorAuth()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
 // Token: 0x060001AE RID: 430 RVA: 0x0000249C File Offset: 0x0000069C
 public ParameterRefMessage()
 {
     ThreadItemResolver.MovePublisher();
     base..ctor();
 }
Example #30
0
 // Token: 0x060000C0 RID: 192 RVA: 0x00002A7A File Offset: 0x00000C7A
 static Mapper()
 {
     ThreadItemResolver.MovePublisher();
     Mapper.m_Class = new IntPtr(-1);
 }