System.AppContext Provides members for setting and retrieving data about an application's context. Gets the pathname of the base directory that the assembly resolver uses to probe for assemblies. the pathname of the base directory that the assembly resolver uses to probe for assemblies. Sets the value of a switch. The name of the switch. The value of the switch. is null. is . Trues to get the value of a switch. true if was set and the argument contains the value of the switch; otherwise, false. The name of the switch. When this method returns, contains the value of if was found, or false if was not found. This parameter is passed uninitialized. is null. is .