NetworkAccess

NetworkAccessECMA 1.0, serializable

System.Net (system.dll)enum

This enumeration specifies network access permissions. Accept indicates that an application has permission to accept network connections. Connect indicates that the application can connect to network hosts.

Both WebPermission and SocketPermission use this enumeration.

public enum NetworkAccess {
   Connect = 64,
   Accept = 128
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) NetworkAccess

Passed To

SocketPermission.{AddPermission( ), SocketPermission( )}, WebPermission{AddPermission( ), WebPermission( )}



    Part II: Programming with the .NET Framework
    Part IV: API Quick Reference
    Chapter 26. System