Networking
System
[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]
1.0.x.x
1.0.5000.0
2.0.0.0
4.0.0.0
All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.
System.Security.Permissions.CodeAccessSecurityAttribute
System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Struct | System.AttributeTargets.Constructor | System.AttributeTargets.Method | System.AttributeTargets.All, AllowMultiple=true, Inherited=false)
allows you to declaratively specify which URI strings and regular expression strings your class can use.
The security information specified in the is stored in the metadata of the attribute target, which is the class to which is applied. The system accesses this information at run time. The passed to the constructor determines the allowable targets. The system uses the returned by the method to convert the security information of the attribute target to a serializable form stored in metadata.
is used only for [<topic://cpcondeclarativesecurity>]. For [<topic://cpconimperativesecurity>], use the corresponding .
Specifies permission to access Internet resources. This class cannot be inherited.
Constructor
1.0.5000.0
2.0.0.0
4.0.0.0
is not a valid value.
The value passed to this constructor specifies the allowable security actions that can be performed on this class.
Initializes a new instance of the class with a value that specifies the security actions that can be performed on this class.
One of the values.
0
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
A that represents the URI accepted by the
current instance.
is being set and is not .
When applying to your class, this property specifies what URI string will be accepted for use within your class. This permission is applied when the security system calls . This property is write-once.
Gets or sets the URI string accepted by the current .
0
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
When applying to your class, this property specifies what regular expression string will be accepted for use within your class. This property is write-once.
Gets or sets a regular expression pattern that describes the URI accepted by the current .
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
A that represents the connection controlled by the
current instance.
is being set and is not .
When applying to your class, this property specifies what URI connection is accepted for use within your class. This property is write-once.
Gets or sets the URI connection string controlled by the current .
0
Property
1.0.5000.0
2.0.0.0
4.0.0.0
System.String
To be added.
When applying to your class, this property specifies what regular expression connect string is accepted for use within your class. This property is write-once.
Gets or sets a regular expression pattern that describes the URI connection controlled by the current .
Method
1.0.5000.0
2.0.0.0
4.0.0.0
System.Security.IPermission
The method is called by the security system, not by application code.
The security information described by is stored in the metadata of the attribute target, which is the class to which is applied. The system accesses the information at run time. The system uses the returned by to convert the security information of the attribute target to a serializable form stored in metadata.
Creates and returns a new instance of the class.
A corresponding to the security declaration.
0
0