System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode Field

Ability to call unmanaged code.

Value: UnmanagedCode


SecurityPermissionFlag UnmanagedCode


Since unmanaged code potentially allows other permissions to be bypassed, this is a dangerous permission that should only be granted to highly trusted code. It is used for such applications as calling native code using PInvoke or using COM interop.


Namespace: System.Security.Permissions
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,