Name

NetworkAccess

Synopsis

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( )}

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.