O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

WebPermission and SocketPermission both 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()}

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required