What does the "ApplicaionDirectory" Membership condition mean in .NET Code Access Security?

Posted by smwikipedia on Stack Overflow See other posts from Stack Overflow or by smwikipedia
Published on 2010-04-15T14:50:05Z Indexed on 2010/04/16 2:43 UTC
Read the original article Hit count: 326

Filed under:
|
|

I am not sure about the semantic of "ApplicationDirectory" membership condition.

I am trying to use it in the .NET Framework 2.0 configuration tool. The tool's explanation to it is as below:

The Application Directory membership condition is true for all assemblies in the same directory or in a child directory of the running application. Assemblies that meet this membership condition will be granted the permissions associated with this code group.

All the other membership conditions such as strong name, hash, need me to input some criterias, only the Application Directory has not. How to use it? Could someone give an explanation by example? Many thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET