public override string ToString() { string str = ImageCapture.\u200D(\u003CModule\u003E.\u202A <string>(622519206U), this.BitmapSource == null ? (object)\u003CModule\u003E.\u202A <string>(1608994172U) : (object)\u003CModule\u003E.\u206A <string>(1624512430U), (object)this.windowTitle, (object)this.captureTime); label_1: int num1 = 804926249; while (true) { int num2 = 1329168284; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 3U) { case 0: goto label_1; case 2: num1 = (int)num3 * 2016592152 ^ 817259619; continue; default: goto label_4; } } label_4: return(str); }
private void SaveClipboardImageToFile(string filePath, bool spawnProcess) { try { label_2: int num1 = -2132515987; BitmapSource bitmapSource; while (true) { int num2 = -205506198; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 5U) { case 1: num1 = (int)num3 * -1090402105 ^ 204659647; continue; case 2: if (bitmapSource != null) { num1 = (int)num3 * 1237053192 ^ 908339310; continue; } goto label_26; case 3: bitmapSource = ImageCapture.\u202E(); num1 = (int)num3 * -1635018711 ^ -877643381; continue; case 4: goto label_2; default: goto label_8; } } label_8: FileStream fileStream = ImageCapture.\u206B(filePath, FileMode.Create); try { BitmapEncoder bitmapEncoder = (BitmapEncoder)ImageCapture.\u202A(); label_10: int num2 = -1440876145; while (true) { int num3 = -205506198; uint num4; switch ((num4 = (uint)(num2 ^ num3)) % 4U) { case 0: ImageCapture.\u200B(bitmapEncoder, (Stream)fileStream); num2 = (int)num4 * -2094473310 ^ 243330181; continue; case 1: ImageCapture.\u200F(bitmapEncoder).Add(ImageCapture.\u200D(bitmapSource)); num2 = (int)num4 * 1362002277 ^ -995344177; continue; case 2: goto label_10; default: goto label_19; } } } finally { if (fileStream != null) { label_15: int num2 = -1029162003; while (true) { int num3 = -205506198; uint num4; switch ((num4 = (uint)(num2 ^ num3)) % 3U) { case 0: goto label_15; case 2: ImageCapture.\u202E((IDisposable)fileStream); num2 = (int)num4 * -1864547826 ^ 452027231; continue; default: goto label_18; } } } label_18 :; } label_19 : bool flag = spawnProcess; label_20: int num5 = -1080670502; label_21: while (true) { int num2 = -205506198; uint num3; switch ((num3 = (uint)(num5 ^ num2)) % 9U) { case 0: goto label_38; case 1: num5 = (int)num3 * -1672117344 ^ -78733097; continue; case 2: num5 = -419100893; continue; case 3: int num4 = flag ? 1091958620 : (num4 = 1278415800); int num6 = (int)num3 * 1927308904; num5 = num4 ^ num6; continue; case 4: num5 = (int)num3 * -495649811 ^ -1330494472; continue; case 5: num5 = -2032477305; continue; case 6: ImageCapture.\u206A(filePath); num5 = (int)num3 * -390570592 ^ 412009464; continue; case 7: goto label_20; case 8: goto label_26; default: goto label_34; } } label_34: return; label_38: return; label_26: ImageCapture.\u200E(CoreObject.log, (object)\u003CModule\u003E.\u206B <string>(3388223828U)); num5 = -83176319; goto label_21; } catch (Exception ex) { label_32: int num1 = -1356690867; while (true) { int num2 = -205506198; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 5U) { case 0: num1 = (int)num3 * -2137261774 ^ -2143530123; continue; case 1: num1 = (int)num3 * -1742285710 ^ 1966745889; continue; case 2: goto label_30; case 3: ImageCapture.\u200E(CoreObject.log, (object)ex); num1 = (int)num3 * -617704581 ^ -1413672601; continue; case 4: goto label_32; default: goto label_22; } } label_22: return; label_30 :; } }
private static BitmapSource CaptureFullScreen(bool addToClipboard) { label_1: int num1 = 1371873598; BitmapSource bitmapSource; while (true) { int num2 = 1175991625; uint num3; switch ((num3 = (uint)(num1 ^ num2)) % 3U) { case 0: goto label_1; case 2: bitmapSource = ImageHelper.CaptureRegion(User32.GetDesktopWindow(), (int)ImageCapture.\u202A(), (int)ImageCapture.\u202B(), (int)ImageCapture.\u200D(), (int)ImageCapture.\u202B(), addToClipboard); num1 = (int)num3 * -855618181 ^ 256363620; continue; default: goto label_4; } } label_4: return(bitmapSource); }