From acf028f196c0a9d6af63771c6252109cb2fec375 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 8 Jan 2020 21:17:20 -0600 Subject: [PATCH] Added SuppressUnmanagedCodeSecurity to StartupMethods class --- DS4Windows/StartupMethods.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DS4Windows/StartupMethods.cs b/DS4Windows/StartupMethods.cs index 1f65540..8fc2ec8 100644 --- a/DS4Windows/StartupMethods.cs +++ b/DS4Windows/StartupMethods.cs @@ -9,6 +9,7 @@ using Task = Microsoft.Win32.TaskScheduler.Task; namespace DS4WinWPF { + [System.Security.SuppressUnmanagedCodeSecurity] public static class StartupMethods { public static string lnkpath = Environment.GetFolderPath(Environment.SpecialFolder.Startup) + "\\DS4Windows.lnk";