Gets or sets the name of the directory containing the application.
Assembly: mscorlib (in mscorlib.dll)
The application base directory is where the assembly manager begins probing for assemblies.
The 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 property of that AppDomain is set to the full name of an intranet directory, the setting restricts the permissions granted to the application domain to a LocalIntranet grant even though the application domain actually originates from the local computer.
The following example demonstrates how to use the property to set the location where the assembly loader begins probing for assemblies to load into a new application domain.
You must ensure that the folder you specify exists.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.