NetworkPermissionAttribute Class

Language:

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

Definition

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

Members Table

Method Description
CreatePermission Create a new permission.
NetworkPermissionAttribute Initializes a new instance of the object.
Property Description
Host Gets or sets the type of access.
Join Gets or sets the type of access.

Inheritance Hierarchy

Object Leave Site
Attribute Leave Site

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

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center