c# - SuppressUnmanagedCodeSecurity or SuppressUnmanagedCodeSecurityAttribute? -


to disable security checks should set? suppressunmanagedcodesecurityattribute or suppressunmanagedcodesecurity?

which of these versions corrrect?

    [dllimport("native.dll"), suppressunmanagedcodesecurity]     public static extern void method(... 

or

    [dllimport("native.dll"), suppressunmanagedcodesecurityattribute]     public static extern void method(... 

both same thing. class named suppressunmanagedcodesecurityattribute, when annotating attributes in general, can omit suffix attribute.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -