Mono Class Library: System.Net NamespaceSystem.Net.WebPermission Class |
See Also: WebPermission Members
System.Object
System.Security.CodeAccessPermission
System.Net.WebPermission
|
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
The XML encoding of a System.Net.WebPermission instance is defined below in EBNF format. The following conventions are used:
- All non-literals in the grammar below are shown in normal type.
- All literals are in bold font.
The following meta-language symbols are used:
- '*' represents a meta-language symbol suffixing an expression that can appear zero or more times.
- '?' represents a meta-language symbol suffixing an expression that can appear zero or one time.
- '+' represents a meta-language symbol suffixing an expression that can appear one or more times.
- '(',')' is used to group literals, non-literals or a mixture of literals and non-literals.
- '|' denotes an exclusive disjunction between two expressions.
- '::= ' denotes a production rule where a left hand non-literal is replaced by a right hand expression containing literals, non-literals or both.
BuildVersion refers to the build version of the shipping CLI. This is a dotted build number such as '2412.0'.
ECMAPubKeyToken ::= b77a5c561934e089
HostName refers to a host name such as www.contoso.com .
Portnumber denotes a int value indicating a port.
TransportProtocol ::= 1 | 2 | 3 /*1= UDP , 2 = TCP, 3 = both */
WebPermissionXML ::=
<IPermission
class="
System.Net.WebPermission,
System,
Version=1.0.BuildVersion,
Culture=neutral,
PublicKeyToken=ECMAPubKeyToken"
version="1"
(
Unrestricted="true"/>
)
|
>
(<ConnectAccess>
(
<URI>HostName#PortNumber#TransportProtocol</URI>
)+
</ConnectAccess>
</IPermission>
)
|
>
(<AcceptAccess>
(
<URI>HostName#PortNumber#TransportProtocol</URI>
)+
</AcceptAccess>
</IPermission>
)
|
/>
[Edit]
Namespace: System.Net
Assembly: System (in System.dll)
Assembly Versions: 1.0.x.x, 1.0.5000.0, 2.0.0.0