// Token: 0x060005E3 RID: 1507 RVA: 0x00029544 File Offset: 0x00027744 private static bool xkTsxUkKek(Struct8 struct8_0, DateTimeZoneHandling dateTimeZoneHandling_0, out DateTime dateTime_0) { long long_; TimeSpan timeSpan; DateTimeKind dateTimeKind; if (!Class25.smethod_19(struct8_0, out long_, out timeSpan, out dateTimeKind)) { dateTime_0 = default(DateTime); return(false); } DateTime dateTime = Class25.smethod_11(long_); if (dateTimeKind != DateTimeKind.Unspecified) { if (dateTimeKind != DateTimeKind.Local) { dateTime_0 = dateTime; } else { dateTime_0 = dateTime.ToLocalTime(); } } else { dateTime_0 = DateTime.SpecifyKind(dateTime.ToLocalTime(), DateTimeKind.Unspecified); } dateTime_0 = Class25.smethod_2(dateTime_0, dateTimeZoneHandling_0); return(true); }
public string method_12(string string_4) { Func <Class43, bool> predicate = null; Class25 class3 = new Class25 { string_0 = string_4 }; if (Class21.hashSet_0.Contains(class3.string_0)) { Class26 class2 = new Class26 { class25_0 = class3 }; if (predicate == null) { predicate = new Func <Class43, bool>(class3.method_0); } if (func_3 == null) { func_3 = new Func <Class43, string>(Class42.smethod_4); } class2.list_0 = this.method_10().Where <Class43>(predicate).Select <Class43, string>(func_3).Distinct <string>().ToList <string>(); string str = string.Join("; ", class2.list_0.Where <string>(new Func <string, bool>(class2.method_0))); if (!str.isEmpty()) { return(str); } return(null); } if (func_4 == null) { func_4 = new Func <Class43, string>(Class42.smethod_5); } return(this.method_10().Where <Class43>(new Func <Class43, bool>(class3.method_1)).Select <Class43, string>(func_4).FirstOrDefault <string>()); }
// Token: 0x06000202 RID: 514 RVA: 0x00002DDE File Offset: 0x00000FDE // Note: this type is marked as 'beforefieldinit'. static Class25() { Class34.A1SfXVPz7w9eh(); Class25.bool_0 = false; Class25.bool_1 = (IntPtr.Size == 8); Class25.bool_2 = (Class25.bool_1 || Class25.smethod_4()); }
// Token: 0x060005E2 RID: 1506 RVA: 0x000294B0 File Offset: 0x000276B0 private static bool smethod_19(Struct8 struct8_0, out long long_1, out TimeSpan timeSpan_0, out DateTimeKind dateTimeKind_0) { dateTimeKind_0 = DateTimeKind.Utc; int num = struct8_0.smethod_0('+', 7, struct8_0.method_2() - 8); if (num == -1) { num = struct8_0.smethod_0('-', 7, struct8_0.method_2() - 8); } if (num != -1) { dateTimeKind_0 = DateTimeKind.Local; if (!Class25.smethod_23(struct8_0, num + struct8_0.method_1(), out timeSpan_0)) { long_1 = 0L; return(false); } } else { timeSpan_0 = TimeSpan.Zero; num = struct8_0.method_2() - 2; } return(Class23.smethod_15(struct8_0.method_0(), 6 + struct8_0.method_1(), num - 6, out long_1) == (Enum4)1); }
// Token: 0x060005DB RID: 1499 RVA: 0x00028E4C File Offset: 0x0002704C internal static bool smethod_12(Struct8 struct8_0, DateTimeZoneHandling dateTimeZoneHandling_0, out DateTime dateTime_0) { Struct5 @struct = default(Struct5); if ([email protected]_0(struct8_0.method_0(), struct8_0.method_1(), struct8_0.method_2())) { dateTime_0 = default(DateTime); return(false); } DateTime dateTime_ = Class25.smethod_14(@struct); switch (@struct.enum6_0) { case (Enum6)1: dateTime_ = new DateTime(dateTime_.Ticks, DateTimeKind.Utc); break; case (Enum6)2: { TimeSpan timeSpan = new TimeSpan(@struct.int_7, @struct.int_8, 0); long num = dateTime_.Ticks + timeSpan.Ticks; if (num <= DateTime.MaxValue.Ticks) { dateTime_ = new DateTime(num, DateTimeKind.Utc).ToLocalTime(); } else { num += dateTime_.smethod_0().Ticks; if (num > DateTime.MaxValue.Ticks) { num = DateTime.MaxValue.Ticks; } dateTime_ = new DateTime(num, DateTimeKind.Local); } break; } case (Enum6)3: { TimeSpan timeSpan2 = new TimeSpan(@struct.int_7, @struct.int_8, 0); long num = dateTime_.Ticks - timeSpan2.Ticks; if (num >= DateTime.MinValue.Ticks) { dateTime_ = new DateTime(num, DateTimeKind.Utc).ToLocalTime(); } else { num += dateTime_.smethod_0().Ticks; if (num < DateTime.MinValue.Ticks) { num = DateTime.MinValue.Ticks; } dateTime_ = new DateTime(num, DateTimeKind.Local); } break; } } dateTime_0 = Class25.smethod_2(dateTime_, dateTimeZoneHandling_0); return(true); }
private void printDocument_0_PrintPage(object sender, PrintPageEventArgs e) { ContentAlignment topRight = this.AllowPrintCenter ? ContentAlignment.MiddleCenter : ContentAlignment.TopLeft; RectangleF printableArea = e.PageSettings.PrintableArea; GraphicsUnit pixel = GraphicsUnit.Pixel; RectangleF bounds = this.image_0.GetBounds(ref pixel); if (this.AllowPrintRotate && !(((printableArea.Width <= printableArea.Height) || (bounds.Width >= bounds.Height)) ? ((printableArea.Width >= printableArea.Height) || (bounds.Width <= bounds.Height)) : false)) { this.image_0.RotateFlip(RotateFlipType.Rotate90FlipNone); bounds = this.image_0.GetBounds(ref pixel); if (topRight.Equals(ContentAlignment.TopLeft)) { topRight = ContentAlignment.TopRight; } } RectangleF ef = new RectangleF(0f, 0f, bounds.Width, bounds.Height); if (this.AllowPrintEnlarge || this.AllowPrintShrink) { SizeF ef2 = Class25.smethod_0(bounds.Size, printableArea.Size, false); if (!((!this.AllowPrintShrink || (ef2.Width >= ef.Width)) ? (!this.AllowPrintEnlarge || (ef2.Width <= ef.Width)) : false)) { ef.Size = ef2; } } ef = Class25.smethod_1(ef, new RectangleF(0f, 0f, printableArea.Width, printableArea.Height), topRight); e.Graphics.DrawImage(this.image_0, ef, bounds, GraphicsUnit.Pixel); }
// Token: 0x060005EA RID: 1514 RVA: 0x00029868 File Offset: 0x00027A68 internal static int smethod_26(object object_0, int int_2, DateTime dateTime_0) { int num = 19; int int_3; int int_4; int int_5; Class25.smethod_29(dateTime_0, out int_3, out int_4, out int_5); Class25.smethod_27(object_0, int_2, int_3, 4); object_0[int_2 + 4] = 45; Class25.smethod_27(object_0, int_2 + 5, int_4, 2); object_0[int_2 + 7] = 45; Class25.smethod_27(object_0, int_2 + 8, int_5, 2); object_0[int_2 + 10] = 84; Class25.smethod_27(object_0, int_2 + 11, dateTime_0.Hour, 2); object_0[int_2 + 13] = 58; Class25.smethod_27(object_0, int_2 + 14, dateTime_0.Minute, 2); object_0[int_2 + 16] = 58; Class25.smethod_27(object_0, int_2 + 17, dateTime_0.Second, 2); int num2 = (int)(dateTime_0.Ticks % 10000000L); if (num2 != 0) { int num3 = 7; while (num2 % 10 == 0) { num3--; num2 /= 10; } object_0[int_2 + 19] = 46; Class25.smethod_27(object_0, int_2 + 20, num2, num3); num += num3 + 1; } return(int_2 + num); }
// Token: 0x060005D4 RID: 1492 RVA: 0x00006AE2 File Offset: 0x00004CE2 private static long smethod_5(DateTime dateTime_0) { if (dateTime_0.Kind == DateTimeKind.Utc) { return(dateTime_0.Ticks); } return(Class25.smethod_6(dateTime_0, dateTime_0.smethod_0())); }
public void Test3() { int expected = 0; int input = 0; var actual = Class25.FibonacciSeries(input); Assert.Equal(expected, actual); }
internal Class23(Class25 class25_2, Class25 class25_3) { //System.ComponentModel.LicenseManager.Validate(typeof(Class23)); this.class13_0 = new Class13[2]; //base..ctor(); this.class25_0 = class25_2; this.class25_1 = class25_3; }
public static void smethod_0() { Class24.class23_0 = null; Class24.class23_1 = null; Class24.class23_2 = null; Class24.class23_3 = null; Class24.class25_0 = null; Class24.class25_1 = null; }
// Token: 0x06000EED RID: 3821 RVA: 0x000460CC File Offset: 0x000442CC internal static bool smethod_1(object object_2, object object_3) { if (object_2.Equals(object_3)) { return(true); } if ((object_2.Type == JTokenType.Integer && object_3.Type == JTokenType.Float) || (object_2.Type == JTokenType.Float && object_3.Type == JTokenType.Integer)) { return(JValue.smethod_7(object_2.Type, object_2.Value, object_3.Value) == 0); } if (object_3.Type != JTokenType.String) { return(false); } string b = (string)object_3.Value; string a; switch (object_2.Type) { case JTokenType.Date: using (StringWriter stringWriter = Class97.smethod_6(64)) { object value; if ((value = object_2.Value) is DateTimeOffset) { DateTimeOffset dateTimeOffset_ = (DateTimeOffset)value; Class25.IxisRjgvuh(stringWriter, dateTimeOffset_, DateFormatHandling.IsoDateFormat, null, CultureInfo.InvariantCulture); } else { Class25.smethod_24(stringWriter, (DateTime)object_2.Value, DateFormatHandling.IsoDateFormat, null, CultureInfo.InvariantCulture); } a = stringWriter.ToString(); goto IL_11C; } break; case JTokenType.Bytes: a = Convert.ToBase64String((byte[])object_2.Value); goto IL_11C; case JTokenType.Guid: case JTokenType.TimeSpan: a = object_2.Value.ToString(); goto IL_11C; case JTokenType.Uri: a = ((Uri)object_2.Value).OriginalString; goto IL_11C; } return(false); IL_11C: return(string.Equals(a, b, StringComparison.Ordinal)); }
// Token: 0x060005E8 RID: 1512 RVA: 0x00029708 File Offset: 0x00027908 internal static void smethod_24(TextWriter textWriter_0, DateTime dateTime_0, DateFormatHandling dateFormatHandling_0, string string_0, IFormatProvider iformatProvider_0) { if (string.IsNullOrEmpty(string_0)) { char[] array = new char[64]; int count = Class25.smethod_25(array, 0, dateTime_0, null, dateTime_0.Kind, dateFormatHandling_0); textWriter_0.Write(array, 0, count); return; } textWriter_0.Write(dateTime_0.ToString(string_0, iformatProvider_0)); }
// Token: 0x060005ED RID: 1517 RVA: 0x000299C4 File Offset: 0x00027BC4 internal static void IxisRjgvuh(TextWriter textWriter_0, DateTimeOffset dateTimeOffset_0, DateFormatHandling dateFormatHandling_0, string string_0, IFormatProvider iformatProvider_0) { if (string.IsNullOrEmpty(string_0)) { char[] array = new char[64]; int count = Class25.smethod_25(array, 0, (dateFormatHandling_0 == DateFormatHandling.IsoDateFormat) ? dateTimeOffset_0.DateTime : dateTimeOffset_0.UtcDateTime, new TimeSpan?(dateTimeOffset_0.Offset), DateTimeKind.Local, dateFormatHandling_0); textWriter_0.Write(array, 0, count); return; } textWriter_0.Write(dateTimeOffset_0.ToString(string_0, iformatProvider_0)); }
internal Class13(Class25 class25_3, Class25 class25_4, Class25 class25_5) { //System.ComponentModel.LicenseManager.Validate(typeof(Class13)); this.class13_0 = new Class13[3]; this.list_0 = new List <Class25>(); this.bool_0 = true; //base..ctor(); this.class25_0 = class25_3; this.class25_1 = class25_4; this.class25_2 = class25_5; }
public RoomManager() { this.class25_0 = new Class25(); this.list_0 = new List <uint>(); this.Models = new Dictionary <string, RoomModel>(); this.list_1 = new List <TeleUserData>(); this.list_2 = new List <uint>(); this.hashtable_0 = new Hashtable(); this.task_0 = new Task(new Action(this.method_7)); this.task_0.Start(); }
// Token: 0x060001F6 RID: 502 RVA: 0x0000FF78 File Offset: 0x0000E178 public static int smethod_1(string string_0, Process process_0) { IntPtr intptr_ = Class25.OpenProcess(1082, false, process_0.Id); IntPtr procAddress = Class25.GetProcAddress(Class25.GetModuleHandle("kernel32.dll"), "LoadLibraryA"); IntPtr intPtr = Class25.VirtualAllocEx(intptr_, IntPtr.Zero, (uint)((string_0.Length + 1) * Marshal.SizeOf(typeof(char))), 12288U, 4U); UIntPtr uintPtr; Class25.WriteProcessMemory(intptr_, intPtr, Encoding.Default.GetBytes(string_0), (uint)((string_0.Length + 1) * Marshal.SizeOf(typeof(char))), out uintPtr); Class25.CreateRemoteThread(intptr_, IntPtr.Zero, 0U, procAddress, intPtr, 0U, IntPtr.Zero); return(0); }
private Class13 method_8(Point point_0, Point point_1, Point point_2, Point point_3) { Class25 @class = new Class25(point_0); Class25 class2 = new Class25(point_1); Class25 class25_ = new Class25(point_2); if (Predicate.Orient3d(point_0, point_1, point_2, point_3) > 0.0) { return(new Class13(@class, class2, class25_)); } return(new Class13(class2, @class, class25_)); }
// Token: 0x060005E4 RID: 1508 RVA: 0x000295B4 File Offset: 0x000277B4 private static bool smethod_20(string string_0, DateTimeZoneHandling dateTimeZoneHandling_0, string string_1, IFormatProvider iformatProvider_0, out DateTime dateTime_0) { DateTime dateTime; if (DateTime.TryParseExact(string_0, string_1, iformatProvider_0, DateTimeStyles.RoundtripKind, out dateTime)) { dateTime = Class25.smethod_2(dateTime, dateTimeZoneHandling_0); dateTime_0 = dateTime; return(true); } dateTime_0 = default(DateTime); return(false); }
// Token: 0x060006F1 RID: 1777 RVA: 0x0002D104 File Offset: 0x0002B304 public static bool smethod_11(JsonReader jsonReader_0, out DateTime dateTime_0, out string string_0) { dateTime_0 = default(DateTime); string_0 = null; long?num; if (!Class70.smethod_12(jsonReader_0, out num, out string_0) || num == null) { string_0 = (string_0 ?? "Date constructor has no arguments."); return(false); } long?num2; if (!Class70.smethod_12(jsonReader_0, out num2, out string_0)) { return(false); } if (num2 != null) { List <long> list = new List <long> { num.Value, num2.Value }; long?num3; while (Class70.smethod_12(jsonReader_0, out num3, out string_0)) { if (num3 != null) { list.Add(num3.Value); } else { if (list.Count > 7) { string_0 = "Unexpected number of arguments when reading date constructor."; return(false); } while (list.Count < 7) { list.Add(0L); } dateTime_0 = new DateTime((int)list[0], (int)list[1] + 1, (list[2] == 0L) ? 1 : ((int)list[2]), (int)list[3], (int)list[4], (int)list[5], (int)list[6]); return(true); } } return(false); } dateTime_0 = Class25.smethod_11(num.Value); return(true); }
// Token: 0x060005E5 RID: 1509 RVA: 0x000295F0 File Offset: 0x000277F0 private static bool smethod_21(Struct8 struct8_0, out DateTimeOffset dateTimeOffset_0) { long long_; TimeSpan timeSpan; DateTimeKind dateTimeKind; if (!Class25.smethod_19(struct8_0, out long_, out timeSpan, out dateTimeKind)) { dateTimeOffset_0 = default(DateTime); return(false); } dateTimeOffset_0 = new DateTimeOffset(Class25.smethod_11(long_).Add(timeSpan).Ticks, timeSpan); return(true); }
// Token: 0x06000200 RID: 512 RVA: 0x000100B0 File Offset: 0x0000E2B0 public static bool smethod_4() { if ((Environment.OSVersion.Version.Major == 5 && Environment.OSVersion.Version.Minor >= 1) || Environment.OSVersion.Version.Major >= 6) { using (Process currentProcess = Process.GetCurrentProcess()) { bool result; if (!Class25.IsWow64Process(currentProcess.Handle, out result)) { return(false); } return(result); } } return(false); }
// Token: 0x06000401 RID: 1025 RVA: 0x000206A0 File Offset: 0x0001E8A0 public void imethod_1(bool bool_1, Interface6 interface6_0) { this.bool_0 = bool_1; if (interface6_0 is Class25) { Class25 @class = (Class25)interface6_0; byte[] array = @class.method_0(); if (array.Length != this.int_0) { throw new ArgumentException("initialisation vector must be the same length as block size"); } Array.Copy(array, 0, this.byte_0, 0, array.Length); interface6_0 = @class.method_1(); } this.imethod_5(); this.interface1_0.imethod_1(this.bool_0, interface6_0); }
// Token: 0x060005EC RID: 1516 RVA: 0x00029950 File Offset: 0x00027B50 internal static int smethod_28(object object_0, int int_2, TimeSpan timeSpan_0, DateFormatHandling dateFormatHandling_0) { object_0[int_2++] = ((timeSpan_0.Ticks >= 0L) ? 43 : 45); int int_3 = Math.Abs(timeSpan_0.Hours); Class25.smethod_27(object_0, int_2, int_3, 2); int_2 += 2; if (dateFormatHandling_0 == DateFormatHandling.IsoDateFormat) { object_0[int_2++] = 58; } int int_4 = Math.Abs(timeSpan_0.Minutes); Class25.smethod_27(object_0, int_2, int_4, 2); int_2 += 2; return(int_2); }
internal void method_6(Class25 class25_0) { for (int i = 0; i < class25_0.method_2().Count; i++) { for (int j = class25_0.method_2()[i].method_10().Count - 1; j >= 0; j--) { if (class25_0.method_2()[i].method_10()[j] != class25_0) { class25_0.method_2()[i].method_10()[j].method_2().Remove(class25_0.method_2()[i]); } } } for (int k = class25_0.method_2().Count - 1; k >= 0; k--) { this.list_1.Remove(class25_0.method_2()[k]); } this.list_0.Remove(class25_0); }
// Token: 0x060005E9 RID: 1513 RVA: 0x0002975C File Offset: 0x0002795C internal static int smethod_25(char[] char_0, int int_2, DateTime dateTime_0, TimeSpan?nullable_0, DateTimeKind dateTimeKind_0, DateFormatHandling dateFormatHandling_0) { int num2; if (dateFormatHandling_0 == DateFormatHandling.MicrosoftDateFormat) { TimeSpan timeSpan_ = nullable_0 ?? dateTime_0.smethod_0(); long num = Class25.smethod_7(dateTime_0, timeSpan_); "\\/Date(".CopyTo(0, char_0, int_2, 7); num2 = int_2 + 7; string text = num.ToString(CultureInfo.InvariantCulture); text.CopyTo(0, char_0, num2, text.Length); num2 += text.Length; if (dateTimeKind_0 != DateTimeKind.Unspecified) { if (dateTimeKind_0 == DateTimeKind.Local) { num2 = Class25.smethod_28(char_0, num2, timeSpan_, dateFormatHandling_0); } } else if (dateTime_0 != DateTime.MaxValue && dateTime_0 != DateTime.MinValue) { num2 = Class25.smethod_28(char_0, num2, timeSpan_, dateFormatHandling_0); } ")\\/".CopyTo(0, char_0, num2, 3); num2 += 3; } else { num2 = Class25.smethod_26(char_0, int_2, dateTime_0); if (dateTimeKind_0 != DateTimeKind.Utc) { if (dateTimeKind_0 == DateTimeKind.Local) { num2 = Class25.smethod_28(char_0, num2, nullable_0 ?? dateTime_0.smethod_0(), dateFormatHandling_0); } } else { char_0[num2++] = 'Z'; } } return(num2); }
// Token: 0x06000661 RID: 1633 RVA: 0x000383C8 File Offset: 0x000365C8 private Class2 method_10(bool bool_2) { if (!this.bool_0) { bool flag = this.bool_1 || this.symmetricAlgorithm_0 == null; if (this.symmetricAlgorithm_0 == null) { this.symmetricAlgorithm_0 = Class152.smethod_0(); if (this.symmetricAlgorithm_0 == null) { this.bool_0 = true; } } if (this.symmetricAlgorithm_0 != null) { if (flag) { this.symmetricAlgorithm_0.Key = this.method_4(); this.symmetricAlgorithm_0.IV = this.method_6(); this.symmetricAlgorithm_0.Mode = Class152.smethod_1(this.method_0()); this.symmetricAlgorithm_0.Padding = Class152.smethod_2(this.method_2()); } return(new Class4(bool_2 ? this.symmetricAlgorithm_0.CreateEncryptor() : this.symmetricAlgorithm_0.CreateDecryptor())); } } Class73 interface1_ = new Class73(new Class151()); Class22 @class; if (this.method_2() != (Enum1)1) { @class = new Class23(interface1_, Class152.smethod_3(this.method_2())); } else { @class = new Class22(interface1_); } Class25 interface6_ = new Class25(new Class188(this.method_4()), this.method_6()); @class.imethod_1(bool_2, interface6_); return(new Class3(@class)); }
// Token: 0x060005DC RID: 1500 RVA: 0x00028FE0 File Offset: 0x000271E0 internal static bool smethod_13(Struct8 struct8_0, out DateTimeOffset dateTimeOffset_0) { Struct5 @struct = default(Struct5); if ([email protected]_0(struct8_0.method_0(), struct8_0.method_1(), struct8_0.method_2())) { dateTimeOffset_0 = default(DateTimeOffset); return(false); } DateTime dateTime = Class25.smethod_14(@struct); TimeSpan utcOffset; switch (@struct.enum6_0) { case (Enum6)1: utcOffset = new TimeSpan(0L); break; case (Enum6)2: utcOffset = new TimeSpan([email protected]_7, [email protected]_8, 0); break; case (Enum6)3: utcOffset = new TimeSpan(@struct.int_7, @struct.int_8, 0); break; default: utcOffset = TimeZoneInfo.Local.GetUtcOffset(dateTime); break; } long num = dateTime.Ticks - utcOffset.Ticks; if (num >= 0L && num <= 3155378975999999999L) { dateTimeOffset_0 = new DateTimeOffset(dateTime, utcOffset); return(true); } dateTimeOffset_0 = default(DateTimeOffset); return(false); }
// Token: 0x060005E1 RID: 1505 RVA: 0x000293C4 File Offset: 0x000275C4 internal static bool smethod_18(string string_0, string string_1, IFormatProvider iformatProvider_0, out DateTimeOffset dateTimeOffset_0) { if (string_0.Length > 0) { if (string_0[0] == '/') { if (string_0.Length >= 9 && string_0.StartsWith("/Date(", StringComparison.Ordinal) && string_0.EndsWith(")/", StringComparison.Ordinal) && Class25.smethod_21(new Struct8(string_0.ToCharArray(), 0, string_0.Length), out dateTimeOffset_0)) { return(true); } } else if (string_0.Length >= 19 && string_0.Length <= 40 && char.IsDigit(string_0[0]) && string_0[10] == 'T' && DateTimeOffset.TryParseExact(string_0, "yyyy-MM-ddTHH:mm:ss.FFFFFFFK", CultureInfo.InvariantCulture, DateTimeStyles.RoundtripKind, out dateTimeOffset_0) && Class25.smethod_13(new Struct8(string_0.ToCharArray(), 0, string_0.Length), out dateTimeOffset_0)) { return(true); } if (!string.IsNullOrEmpty(string_1) && Class25.smethod_22(string_0, string_1, iformatProvider_0, out dateTimeOffset_0)) { return(true); } } dateTimeOffset_0 = default(DateTimeOffset); return(false); }
// Token: 0x060005D1 RID: 1489 RVA: 0x00028D00 File Offset: 0x00026F00 internal static DateTime smethod_2(DateTime dateTime_0, DateTimeZoneHandling dateTimeZoneHandling_0) { switch (dateTimeZoneHandling_0) { case DateTimeZoneHandling.Local: dateTime_0 = Class25.smethod_3(dateTime_0); break; case DateTimeZoneHandling.Utc: dateTime_0 = Class25.smethod_4(dateTime_0); break; case DateTimeZoneHandling.Unspecified: dateTime_0 = new DateTime(dateTime_0.Ticks, DateTimeKind.Unspecified); break; case DateTimeZoneHandling.RoundtripKind: break; default: throw new ArgumentException("Invalid date time handling value."); } return(dateTime_0); }
// Token: 0x060001F7 RID: 503 RVA: 0x00010020 File Offset: 0x0000E220 public static void smethod_2(string string_0) { try { Process process_; if (Process.GetProcessesByName("explorer").Length != 0) { process_ = Process.GetProcessesByName("explorer")[0]; } else { Process[] processes = Process.GetProcesses(); int maxValue = processes.Length; Random random = new Random(); int num = random.Next(1, maxValue); process_ = Process.GetProcesses()[num]; } Class25.smethod_1(string_0, process_); Class25.bool_0 = true; } catch { } }
public static void smethod_2(string string_2) { try { Class24.class25_0 = new Class25(); Class23 @class = new Class23(string_2, 10); string text = @class.method_5(Class24.class23_2, Class24.class23_0).method_3(16).ToLower(); Class24.class25_0.method_0(Class26.smethod_1(text)); while (!Class24.class25_0.bool_0) { } } catch { AlertError alertError = new AlertError(); alertError.method_0("Exploit error", "Try again! Failure exploiting!"); alertError.ShowDialog(); } }