public static String GetGACPath() { uint bufferSize = 255; StringBuilder buffer = new StringBuilder((int) bufferSize); AssemblyCache.GetCachePath(ASM_CACHE_FLAGS.ASM_CACHE_GAC, buffer, ref bufferSize); return buffer.ToString(); }