次の方法で共有


TrustInfo.SameSiteAccess Property

Definition

Describes the level of "same site" access permitted, specifying whether the application has permission to communicate with the server from which it was deployed.

public:
 property System::String ^ SameSiteAccess { System::String ^ get(); void set(System::String ^ value); };
public string SameSiteAccess { get; set; }
public string SameSiteAccess { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; set; }
member this.SameSiteAccess : string with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.SameSiteAccess : string with get, set
Public Property SameSiteAccess As String

Property Value

A string indicating the level of same site access permitted. The values can be site or none.

site specifies that the application can call Web services at the same URL from which it was deployed; if deployed from a share, the application has permission to read files from that share.

none specifies that the application can neither access Web services from the same URL from which it was deployed, nor access files from the share from which it was deployed.

"Application" refers to the application for which the manifest is being read (using ReadManifest(Stream)).

Attributes

Remarks

"Application" refers to the application for which the manifest is being read. You can read the deployment manifest using ReadManifest or ReadManifest.

Applies to

See also