1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="NetCodeGroup" FullName="System.Security.Policy.NetCodeGroup">
<TypeSignature Maintainer="auto" Language="C#" Value="public sealed class NetCodeGroup : System.Security.Policy.CodeGroup" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed beforefieldinit NetCodeGroup extends System.Security.Policy.CodeGroup" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Security.Policy.CodeGroup</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Code groups are the building blocks of code access security policy. Each policy level consists of a root code group that can have one or more child code groups. Each child code group can have its own child code groups; this behavior extends to any number of levels, forming a tree. Each code group has a membership condition that determines if a given assembly belongs to the group, based on the evidence for that assembly. Only code groups whose membership conditions match a given assembly, along with their child code groups, apply code access security policy.</para>
<para>
<see cref="T:System.Security.Policy.NetCodeGroup" /> has the same merge semantics as that of <see cref="T:System.Security.Policy.UnionCodeGroup" />; it forms the union of the <see cref="T:System.Security.Policy.PolicyStatement" /> objects of all matching child code groups and the <see cref="T:System.Security.Policy.PolicyStatement" /> it generates from the input <see cref="T:System.Security.Policy.Url" /> evidence. However, <see cref="T:System.Security.Policy.NetCodeGroup" /> returns a permission containing a dynamically calculated <see cref="T:System.Net.WebPermission" /> that grants connect access to the site from which the code is run; <see cref="T:System.Security.Policy.UnionCodeGroup" /> simply returns a static permission set.</para>
<para>When a <see cref="T:System.Security.Policy.NetCodeGroup" /> is created, it contains the default connection access rules shown in the following table.</para>
<list type="table">
<listheader>
<item>
<term>
<para>URI Scheme</para>
</term>
<description>
<para>Rule</para>
</description>
</item>
</listheader>
<item>
<term>
<para>file</para>
</term>
<description>
<para>No connection access to the origin server is permitted.</para>
</description>
</item>
<item>
<term>
<para>http</para>
</term>
<description>
<para>HTTP and HTTPS access is permitted using the origin port.</para>
</description>
</item>
<item>
<term>
<para>https</para>
</term>
<description>
<para>HTTPS access is permitted using the origin port.</para>
</description>
</item>
</list>
<para>You can control the scheme and port that code is permitted to use when connecting back to its site of origin by passing a <see cref="T:System.Security.Policy.CodeConnectAccess" /> object with the appropriate <see cref="P:System.Security.Policy.CodeConnectAccess.Scheme" /> and <see cref="P:System.Security.Policy.CodeConnectAccess.Port" /> property values to the <see cref="M:System.Security.Policy.NetCodeGroup.AddConnectAccess(System.String,System.Security.Policy.CodeConnectAccess)" /> method. You can create a connection access rule that applies when the origin scheme is not present in the evidence or is not recognized by specifying <see cref="F:System.Security.Policy.NetCodeGroup.AbsentOriginScheme" /> ("") as the scheme. You can also create a connection access rule that applies when there is no connection access rule with a matching scheme by specifying <see cref="F:System.Security.Policy.NetCodeGroup.AnyOtherOriginScheme" /> ("*") as the scheme.</para>
<block subset="none" type="note">
<para>If code does not submit the URI scheme as evidence, access is permitted using any scheme back to the origin site.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Grants Web permission to the site from which the assembly was downloaded. This class cannot be inherited.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public NetCodeGroup (System.Security.Policy.IMembershipCondition membershipCondition);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Security.Policy.IMembershipCondition membershipCondition) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue />
<Parameters>
<Parameter Name="membershipCondition" Type="System.Security.Policy.IMembershipCondition" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When a <see cref="T:System.Security.Policy.NetCodeGroup" /> is created, it contains the default connection access rules shown in the following table.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Scheme</para>
</term>
<description>
<para>Rule</para>
</description>
</item>
</listheader>
<item>
<term>
<para>file</para>
</term>
<description>
<para>No connection access to the origin server is permitted.</para>
</description>
</item>
<item>
<term>
<para>http</para>
</term>
<description>
<para>HTTP and HTTPS access is permitted using the origin port.</para>
</description>
</item>
<item>
<term>
<para>https</para>
</term>
<description>
<para>HTTPS access is permitted using the origin port.</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.Policy.NetCodeGroup" /> class.</para>
</summary>
<param name="membershipCondition">
<attribution license="cc4" from="Microsoft" modified="false" />A membership condition that tests evidence to determine whether this code group applies code access security policy. </param>
</Docs>
</Member>
<Member MemberName="AbsentOriginScheme">
<MemberSignature Language="C#" Value="public static readonly string AbsentOriginScheme;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly string AbsentOriginScheme" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When calling the <see cref="M:System.Security.Policy.NetCodeGroup.AddConnectAccess(System.String,System.Security.Policy.CodeConnectAccess)" /> method, you specify a scheme and an associated <see cref="T:System.Security.Policy.CodeConnectAccess" /> object. Any <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects that you add to the <see cref="T:System.Security.Policy.NetCodeGroup" /> using <see cref="F:System.Security.Policy.NetCodeGroup.AbsentOriginScheme" /> as the origin scheme are applied when the code's origin scheme is not present in its evidence, or is not a scheme recognized by the <see cref="T:System.Security.Policy.NetCodeGroup" /> object.</para>
<para>To specify the <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects to use when the code's origin scheme does not match any of the schemes contained in the set of origin schemes added to the current <see cref="T:System.Security.Policy.NetCodeGroup" /> object, use the <see cref="F:System.Security.Policy.NetCodeGroup.AnyOtherOriginScheme" /> value. </para>
<para>The value of the <see cref="F:System.Security.Policy.NetCodeGroup.AbsentOriginScheme" /> field is an empty string ("").</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Contains a value used to specify connection access for code with an unknown or unrecognized origin scheme.</para>
</summary>
</Docs>
</Member>
<Member MemberName="AddConnectAccess">
<MemberSignature Language="C#" Value="public void AddConnectAccess (string originScheme, System.Security.Policy.CodeConnectAccess connectAccess);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void AddConnectAccess(string originScheme, class System.Security.Policy.CodeConnectAccess connectAccess) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="originScheme" Type="System.String" />
<Parameter Name="connectAccess" Type="System.Security.Policy.CodeConnectAccess" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>You can add multiple <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects for the same <paramref name="origin scheme" />. If an <paramref name="origin scheme" /> already has one or more associated <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects, specifying null for <paramref name="connectAccess" /> has no effect. If the origin scheme does not have associated <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects, specifying null for <paramref name="connectAccess" /> prevents code with an origin scheme that matches <paramref name="originScheme" /> from accessing its origin server.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Adds the specified connection access to the current code group.</para>
</summary>
<param name="originScheme">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.String" /> containing the scheme to match against the code's scheme.</param>
<param name="connectAccess">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Security.Policy.CodeConnectAccess" /> that specifies the scheme and port code can use to connect back to its origin server.</param>
</Docs>
</Member>
<Member MemberName="AnyOtherOriginScheme">
<MemberSignature Language="C#" Value="public static readonly string AnyOtherOriginScheme;" />
<MemberSignature Language="ILAsm" Value=".field public static initonly string AnyOtherOriginScheme" />
<MemberType>Field</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When calling the <see cref="M:System.Security.Policy.NetCodeGroup.AddConnectAccess(System.String,System.Security.Policy.CodeConnectAccess)" /> method, you specify a scheme and an associated <see cref="T:System.Security.Policy.CodeConnectAccess" /> object. You can use the value of the <see cref="F:System.Security.Policy.NetCodeGroup.AnyOtherOriginScheme" /> field to specify the <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects that should be used for any scheme that is not explicitly contained in the set of origin schemes added to the current <see cref="T:System.Security.Policy.NetCodeGroup" /> object. </para>
<para>The <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects specified with the <see cref="F:System.Security.Policy.NetCodeGroup.AnyOtherOriginScheme" /> field are only used if the code's origin scheme does not match any of the schemes contained in the set of origin schemes added to the current <see cref="T:System.Security.Policy.NetCodeGroup" /> object.</para>
<para>To specify the <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects to apply when the code's origin scheme is not available in its evidence or is not recognized, use the <see cref="F:System.Security.Policy.NetCodeGroup.AbsentOriginScheme" /> value.</para>
<para>The value of the <see cref="F:System.Security.Policy.NetCodeGroup.AnyOtherOriginScheme" /> field is "*".</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Contains a value used to specify any other unspecified origin scheme.</para>
</summary>
</Docs>
</Member>
<Member MemberName="AttributeString">
<MemberSignature Language="C#" Value="public override string AttributeString { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string AttributeString" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a string representation of the attributes of the policy statement for the code group.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Copy">
<MemberSignature Language="C#" Value="public override System.Security.Policy.CodeGroup Copy ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Security.Policy.CodeGroup Copy() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Policy.CodeGroup</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This method makes a deep copy of the code group, meaning that copies of all objects the code group contains are also made.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Makes a deep copy of the current code group.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An equivalent copy of the current code group, including its membership conditions and child code groups.</para>
</returns>
</Docs>
</Member>
<Member MemberName="CreateXml">
<MemberSignature Language="C#" Value="protected override void CreateXml (System.Security.SecurityElement element, System.Security.Policy.PolicyLevel level);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void CreateXml(class System.Security.SecurityElement element, class System.Security.Policy.PolicyLevel level) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="element" Type="System.Security.SecurityElement" />
<Parameter Name="level" Type="System.Security.Policy.PolicyLevel" />
</Parameters>
<Docs>
<param name="element">To be added.</param>
<param name="level">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object o);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object o) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="o" Type="System.Object" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The following data are used to determine the equality of two <see cref="T:System.Security.Policy.NetCodeGroup" /> objects:</para>
<list type="bullet">
<item>
<para>The <see cref="P:System.Security.Policy.CodeGroup.Name" /> and <see cref="P:System.Security.Policy.CodeGroup.Description" /> properties.</para>
</item>
<item>
<para>The <see cref="P:System.Security.Policy.CodeGroup.MembershipCondition" /> property.</para>
</item>
<item>
<para>The set of origin schemes and the associated <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects. </para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Determines whether the specified code group is equivalent to the current code group.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the specified code group is equivalent to the current code group; otherwise, false.</para>
</returns>
<param name="o">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Security.Policy.NetCodeGroup" /> object to compare with the current code group.</param>
</Docs>
</Member>
<Member MemberName="GetConnectAccessRules">
<MemberSignature Language="C#" Value="public System.Collections.DictionaryEntry[] GetConnectAccessRules ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Collections.DictionaryEntry[] GetConnectAccessRules() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.DictionaryEntry[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>In each dictionary entry, the <see cref="P:System.Collections.DictionaryEntry.Key" /> property value is the origin scheme, and the <see cref="P:System.Collections.DictionaryEntry.Value" /> property value is the array of associated <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects. If there are no associated <see cref="T:System.Security.Policy.CodeConnectAccess" /> objects, <see cref="P:System.Collections.DictionaryEntry.Value" /> returns an empty array.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the connection access information for the current code group.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Collections.DictionaryEntry" /> array containing connection access information.</para>
</returns>
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
</Member>
<Member MemberName="MergeLogic">
<MemberSignature Language="C#" Value="public override string MergeLogic { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string MergeLogic" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the logic to use for merging groups.</para>
</summary>
</Docs>
</Member>
<Member MemberName="ParseXml">
<MemberSignature Language="C#" Value="protected override void ParseXml (System.Security.SecurityElement e, System.Security.Policy.PolicyLevel level);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void ParseXml(class System.Security.SecurityElement e, class System.Security.Policy.PolicyLevel level) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="e" Type="System.Security.SecurityElement" />
<Parameter Name="level" Type="System.Security.Policy.PolicyLevel" />
</Parameters>
<Docs>
<param name="e">To be added.</param>
<param name="level">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
</Member>
<Member MemberName="PermissionSetName">
<MemberSignature Language="C#" Value="public override string PermissionSetName { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance string PermissionSetName" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the name of the <see cref="T:System.Security.NamedPermissionSet" /> for the code group.</para>
</summary>
</Docs>
</Member>
<Member MemberName="ResetConnectAccess">
<MemberSignature Language="C#" Value="public void ResetConnectAccess ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ResetConnectAccess() cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this method to remove the system-supplied default connection access rules.</para>
<para>The default rules are shown in the following table.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Scheme</para>
</term>
<description>
<para>Rule</para>
</description>
</item>
</listheader>
<item>
<term>
<para>file</para>
</term>
<description>
<para>No connection access to the origin server is permitted.</para>
</description>
</item>
<item>
<term>
<para>http</para>
</term>
<description>
<para>HTTP and HTTPS access is permitted using the origin port.</para>
</description>
</item>
<item>
<term>
<para>https</para>
</term>
<description>
<para>HTTPS access is permitted using the origin port.</para>
</description>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Removes all connection access information for the current code group.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Resolve">
<MemberSignature Language="C#" Value="public override System.Security.Policy.PolicyStatement Resolve (System.Security.Policy.Evidence evidence);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Security.Policy.PolicyStatement Resolve(class System.Security.Policy.Evidence evidence) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Policy.PolicyStatement</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evidence" Type="System.Security.Policy.Evidence" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Given evidence for an assembly to be loaded, this method evaluates the code group by first checking the membership condition against the specified evidence. If there is a match, this method returns a policy statement for the code group, including evaluation of child code groups.</para>
<para>The operation of this method is as follows: </para>
<para>If the membership condition does not match the specified evidence, return null; otherwise, set the permission set to be returned (P) equal to the code group's policy statement and continue. For each child code group, resolve the code group with the same evidence; if the result is not null, return that policy statement. If no child code group matched, return P (the parent's policy statement).</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Resolves policy for the code group and its descendants for a set of evidence.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Security.Policy.PolicyStatement" /> that consists of the permissions granted by the code group with optional attributes, or null if the code group does not apply (the membership condition does not match the specified evidence).</para>
</returns>
<param name="evidence">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Security.Policy.Evidence" /> for the assembly. </param>
</Docs>
</Member>
<Member MemberName="ResolveMatchingCodeGroups">
<MemberSignature Language="C#" Value="public override System.Security.Policy.CodeGroup ResolveMatchingCodeGroups (System.Security.Policy.Evidence evidence);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class System.Security.Policy.CodeGroup ResolveMatchingCodeGroups(class System.Security.Policy.Evidence evidence) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Security.Policy.CodeGroup</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="evidence" Type="System.Security.Policy.Evidence" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Given evidence for an assembly to be loaded, this method evaluates the code group by first checking the membership condition against the specified evidence. If there is a match, this method returns a root code group. The code group that is returned may contain child code groups, which, in turn, may also have child code groups, so the return value reflects the complete set of code groups that were matched by the evidence provided.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Resolves matching code groups.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The complete set of code groups that were matched by the evidence.</para>
</returns>
<param name="evidence">
<attribution license="cc4" from="Microsoft" modified="false" />The evidence for the assembly. </param>
</Docs>
</Member>
</Members>
</Type>
|