Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TrustInfo.HasUnmanagedCodePermission Property

Determines whether the application has permission to call unmanaged code.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)

public bool HasUnmanagedCodePermission { get; }

Property Value

Type: System.Boolean
A Boolean value indicating whether the application has permission to call unmanaged code.

"Application" refers to the application for which the manifest is being read. You can read the deployment manifest using ReadManifest or ReadManifest.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft