SameSiteAccess Property
Collapse the table of content
Expand the table of content

TrustInfo.SameSiteAccess Property

 

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

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

public string SameSiteAccess { get; set; }

Property Value

Type: System.String

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).

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

Return to top
Show:
© 2016 Microsoft