System.Web.Configuration.TrustSection.OriginUrl Property

Specifies the URL of origin for an application.

Syntax

[System.Configuration.ConfigurationProperty("originUrl", DefaultValue="")]
public string OriginUrl { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TrustSection.OriginUrl property specifies the URL of origin for an application. If present, this can be used for some permissions, such as those associated with the System.Net.WebRequest class. This enables you to specify a single URL that is used to create permission through a System.Net.WebPermission instance. This permission then grants ASP.NET code that has partial trust the right to make HTTP calls (for example, a Web service call) to that URL. The value must be a well-formed HTTP URL.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0