NetworkPermission Class

Language:

Controls the permissions related DirectPlay.

Definition

Visual Basic NotInheritable Public Class NetworkPermission
    Inherits CodeAccessPermission
    Implements IUnrestrictedPermission
C# public sealed class NetworkPermission : CodeAccessPermission, IUnrestrictedPermission
C++ public ref class NetworkPermission sealed : CodeAccessPermission, IUnrestrictedPermission
JScript public final class NetworkPermission extends CodeAccessPermission implements IUnrestrictedPermission

Members Table

Method Description
Copy Creates and returns an identical copy of the current permission.
FromXml Reconstructs a permission with a specified state from an XML encoding.
Intersect Creates and returns a permission that is the intersection of the current permission and the specified permission.
IsSubsetOf Determines whether the current permission is a subset of the specified permission.
IsUnrestricted Returns a value indicating whether the current permission is unrestricted.
NetworkPermission Initializes a new instance of the object.
ToXml Creates an XML encoding of the permission and its current state.
Union Creates a permission that is the union of the permission and the specified permission.
Property Description
Host Gets or sets the access represented by the permission.
Join Gets or sets the access represented by the permission.

Inheritance Hierarchy

Object Leave Site
CodeAccessPermission Leave Site
NetworkPermission

Class Information

Namespace Microsoft.DirectX.Security
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