System.AppDomainSetup.ApplicationBase Property

Gets or sets the name of the directory containing the application.

Syntax

public string ApplicationBase { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The application base directory is where the assembly manager begins probing for assemblies.

The AppDomainSetup.ApplicationBase property can influence which permissions are granted to an application domain. For example, an application domain originating from the local computer normally receives full trust based on its location of origin. However, if the AppDomainSetup.ApplicationBase property of that AppDomain is set to the full name of an intranet directory, the AppDomainSetup.ApplicationBase setting restricts the permissions granted to the application domain to a LocalIntranet grant even though the application domain actually originates from the local computer.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0