WebPermission | ECMA 1.0, serializable |
System.Net (system.dll) | sealed class |
This permission controls which
connections an application can make
or accept.
public sealed class WebPermission : System.Security.CodeAccessPermission,
System.Security.Permissions.IUnrestrictedPermission {
// Public Constructors
public WebPermission( );
public WebPermission(NetworkAccess access, System.Text.RegularExpressions.Regex uriRegex);
public WebPermission(NetworkAccess access, string uriString);
public WebPermission(System.Security.Permissions.PermissionState state);
// Public Instance Properties
public IEnumerator AcceptList{get; }
public IEnumerator ConnectList{get; }
// Public Instance Methods
public void AddPermission(NetworkAccess access, System.Text.RegularExpressions.Regex uriRegex);
public void AddPermission(NetworkAccess access, string uriString);
public override IPermission Copy( );
// overrides CodeAccessPermission
public override void FromXml(System.Security.SecurityElement securityElement)
// overrides CodeAccessPermission
public override IPermission Intersect(System.Security.IPermission target)
// overrides CodeAccessPermission
public override bool IsSubsetOf(System.Security.IPermission target)
// overrides CodeAccessPermission
public bool IsUnrestricted( );
// implements IUnrestrictedPermission
public override SecurityElement ToXml( );
// overrides CodeAccessPermission
public override IPermission Union(System.Security.IPermission target)
// overrides CodeAccessPermission
}
Hierarchy
System.Object
System.Security.CodeAccessPermission(System.Security.IPermission,
System.Security.ISecurityEncodable,
System.Security.IStackWalk)
WebPermission(System.Security.Permissions.IUnrestrictedPermission)
|