Re: mscoree.dll and GetFileVersionInfo

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tester (lf_at_nospam.nospam)
Date: 06/18/04


Date: Fri, 18 Jun 2004 19:49:58 -0400

Unless you do custom CLR hosting and specify version, isn't it safe to
assume that whatever mscoree.dll version is, that will be the version loaded
into process?

"Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
news:OnaRmqSVEHA.2944@tk2msftngp13.phx.gbl...
>
> >Is it safe if I want to check mscoree.dll version to determine .NET
runtime
> >version?
>
> Which runtime version? Keep in mind that you can have multiple
> versions installed, but only one Mscoree.dll.
>
> If you want the version of the currently loaded runtime from managed
> code, the easiest way is to check System.Environment.Version.
>
>
>
> Mattias
>
> --
> Mattias Sjögren [MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.



Relevant Pages

  • Re: Idea for getting thread safety documented. Was: Re: Is ThreadPoolExecutor.execute() thread safe?
    ... just like all of the java.util.concurrent packages. ... required to specify its "MT-Level". ... MT-safe and can have multiple invocations executing concurrently - that's stronger than MT-safe, which could involve a lock which only lets one thread run it at once. ... I'm hazy on the difference between Safe and MT-Safe - it seems to just be some wishy-washy promises about concurrency. ...
    (comp.lang.java.programmer)
  • Re: Sum Query
    ... You don't say where you are posting from, but this is not a safe way to ... to specify a Jet-compatible date format explicitly: ... Eyeballing the final SQL statement makes it easy to pick up errors like ...
    (microsoft.public.access.modulesdaovba)
  • Re: Clear Screen command
    ... to be safe" it usually indicates that someone is making an assumption or that the solution is not the best solution. ... Ask the installer to specify a terminal type so you can send the right escape codes for the terminal in question. ...
    (comp.lang.java.help)
  • Shadowed Files
    ... When running 'portsclean', this message is displayed: ... Leave /usr/lib/libssl.so.3 (specify -i to ask on this) ... Would it be safe to delete the redundant library? ... To unsubscribe, ...
    (freebsd-questions)
  • Re: Parameter size
    ... Jon, what I have noticed is that if you specify the size in the parameter, ... then you also have to specify the size in the stored procedure ... ... > is it safe to simply specify name, direction, type and value? ...
    (microsoft.public.dotnet.framework.adonet)