1
要禁用安全檢查我應該設置什麼? SuppressUnmanagedCodeSecurityAttribute
或SuppressUnmanagedCodeSecurity
?SuppressUnmanagedCodeSecurity或SuppressUnmanagedCodeSecurityAttribute?
哪個這些版本是corrrect?
[DllImport("Native.dll"), SuppressUnmanagedCodeSecurity]
public static extern void Method(...
或
[DllImport("Native.dll"), SuppressUnmanagedCodeSecurityAttribute]
public static extern void Method(...