Skip to content

Instantly share code, notes, and snippets.

View amaitland's full-sized avatar

Alex Maitland amaitland

  • Australia
View GitHub Profile
@amaitland
amaitland / app.manifest.xml
Created October 5, 2019 11:26 — forked from emoacht/app.manifest.xml
Application manifest for Per Monitor V2
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<!-- Per Monitor V1 [OS >= Windows 8.1]
Values: False, True, Per-monitor, True/PM -->
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
true/PM</dpiAware>
<!-- Per Monitor V1 [OS >= Windows 10 Anniversary Update (1607, 10.0.14393, Redstone 1)]
Values: Unaware, System, PerMonitor -->
<!-- Per Monitor V2 [OS >= Windows 10 Creators Update (1703, 10.0.15063, Redstone 2)]
Value: PerMonitorV2 -->
@amaitland
amaitland / Program.cs
Last active February 19, 2016 01:22 — forked from campersau/AccessViolationException
CefSharp.OffScreen.ChromiumWebBrowser Parallel Screenshot Crash
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CefSharp.OffScreen;
using System.Drawing;
using System.Drawing.Imaging;
namespace CefSharp.Offscreen.ScreenshotTest
{
// Copyright © 2010-2015 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using CefSharp.Example;
namespace CefSharp.OffScreen.Example