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