HostProtectionAttribute.Resources Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets flags specifying categories of functionality that are potentially harmful to the host.

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

member Resources : HostProtectionResource with get, set

Property Value

Type: System.Security.Permissions.HostProtectionResource

A bitwise combination of the HostProtectionResource values. The default is None.

The HostProtectionResource flags specify the resources exposed by the method or class that are potentially harmful to the host.

The following code example illustrates the use of the HostProtectionAttribute attribute with the Resources property. This example is part of a larger example provided for the HostProtectionAttribute class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: