From 01ccc74cdd90c15fd2a8618ee535713eff685579 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Sun, 22 Jul 2018 03:15:24 -0500 Subject: [PATCH] Added SuppressUnmanagedCodeSecurity attribute to ScpDevice class Leads to a decent speedup --- DS4Windows/DS4Control/ScpDevice.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/DS4Windows/DS4Control/ScpDevice.cs b/DS4Windows/DS4Control/ScpDevice.cs index 8055616..267f10d 100644 --- a/DS4Windows/DS4Control/ScpDevice.cs +++ b/DS4Windows/DS4Control/ScpDevice.cs @@ -3,10 +3,12 @@ using System.Collections.Generic; using System.ComponentModel; using System.Runtime.InteropServices; +using System.Security; using Microsoft.Win32.SafeHandles; namespace DS4Windows { + [SuppressUnmanagedCodeSecurity] public partial class ScpDevice : Component { public virtual Boolean IsActive