You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Get permission for working with UnmanagedCode//msdn.microsoft.com/en-us/library/xc5yzfbx(v=vs.110)//msdn.microsoft.com/en-us/library/ff648663.aspx#c08618429_020try{SecurityPermissionsp=newSecurityPermission(SecurityPermissionFlag.UnmanagedCode);sp.Demand();}catch(Exceptionex){Console.WriteLine("Demand for SecurityPermissionFlag.UnmanagedCode failed: "+ex.Message);}
According to the MSDN for this, this is probably not needed anymore.
The text was updated successfully, but these errors were encountered:
According to the MSDN for this, this is probably not needed anymore.
The text was updated successfully, but these errors were encountered: