SecurityPermissionAttribute::UnmanagedCode Property

 

Gets or sets a value indicating whether permission to call unmanaged code is declared.

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

public:
property bool UnmanagedCode {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if permission to call unmanaged code is declared; otherwise, false.

.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: