Assembly.EscapedCodeBase : Assembly « System.Reflection « C# / C Sharp by API






Assembly.EscapedCodeBase

 

using System;
using System.Reflection;
public class MainClass {
    static void Main() {
        Assembly EntryAssembly;

        EntryAssembly = Assembly.GetEntryAssembly();
        Console.WriteLine("Location: {0}", EntryAssembly.Location);
        Console.WriteLine("Code Base: {0}", EntryAssembly.CodeBase);
        Console.WriteLine("Escaped Code Base: {0}", EntryAssembly.EscapedCodeBase);
        Console.WriteLine("Loaded from GAC: {0}", EntryAssembly.GlobalAssemblyCache);
    }
}

   
  








Related examples in the same category

1.Assembly.CodeBase
2.Assembly.EntryPoint
3.Assembly.Evidence
4.Assembly.FullName
5.Assembly.GetCallingAssembly()
6.Assembly.GetCustomAttributes
7.Assembly.GetEntryAssembly()
8.Assembly.GetExecutingAssembly()
9.Assembly.GetExportedTypes
10.Assembly.GetName
11.Assembly.GetReferencedAssemblies
12.Assembly.GetTypes()
13.Assembly.GlobalAssemblyCache
14.Assembly.Load(AssemblyName name2)
15.Assembly.Load(String name)
16.Assembly.LoadFrom(String assemblyName)
17.Assembly.Location