Share via


NetworkPermissionAttribute Class (Microsoft.DirectX.Security.Permissions)

Allows security actions for NetworkPermission to be applied to code using declarative security.

Definition

Visual Basic NotInheritable Public Class NetworkPermissionAttribute
    Inherits CodeAccessSecurityAttributeLeave Site
C# public sealed class NetworkPermissionAttribute : CodeAccessSecurityAttributeLeave Site
C++ public ref class NetworkPermissionAttribute sealed : CodeAccessSecurityAttributeLeave Site
JScript public final class NetworkPermissionAttribute extends CodeAccessSecurityAttributeLeave Site

Members Table

The following table lists the members exposed by the object.

Methods

Method Description
CreatePermission Create a new permission.
NetworkPermissionAttribute Initializes a new instance of the object.

Properties

Property Description
Host Gets or sets the type of access.
Join Gets or sets the type of access.

Inheritance Hierarchy

ObjectLeave Site

AttributeLeave Site

SecurityAttributeLeave Site

CodeAccessSecurityAttributeLeave Site

NetworkPermissionAttribute

Class Information

Namespace Microsoft.DirectX.Security.Permissions
Assembly Microsoft.DirectX (microsoft.directx.dll)
Strong Name Microsoft.DirectX,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492