Specifies the URL of origin for an application.
Assembly: System.Web (in System.Web.dll)
The property specifies the URL of origin for an application. If present, this can be used for some permissions, such as those associated with the WebRequest class. This enables you to specify a single URL that is used to create permission through a 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.