Added SuppressUnmanagedCodeSecurity attribute to ScpDevice class

Leads to a decent speedup
This commit is contained in:
Travis Nickles 2018-07-22 03:15:24 -05:00
parent a6e6b5279c
commit 01ccc74cdd

View File

@ -3,10 +3,12 @@ using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Security;
using Microsoft.Win32.SafeHandles; using Microsoft.Win32.SafeHandles;
namespace DS4Windows namespace DS4Windows
{ {
[SuppressUnmanagedCodeSecurity]
public partial class ScpDevice : Component public partial class ScpDevice : Component
{ {
public virtual Boolean IsActive public virtual Boolean IsActive