Are NGen images shareable between processes under different windows accounts

Hi everybody,

I've read

http://msdn.microsoft.com/vcsharp/default.aspx pull=/msdnmag/issues/06/05/CLRInsideOut/default.aspx

I'm not quite sure whether there are any restrictions on between which processes the NGen images can be shared. Given my assemblies fullfill the requirements (no rebasing etc.), and users start my application on one physical machine using a terminal server. Will then my assemblies be shared or the "shareability" is limited only to processes of one Windows user (for instance, when someone starts a second instance of the application)



Answer this question

Are NGen images shareable between processes under different windows accounts

  • Eric G Wang

    I doubt that a DLL would be shared between two different users, even in the same Windows session. I'd have to check.

    But, a DLL will not be shared between Windows sessions, at least not at the application level (drivers, etc. may need to do this). So, a DLL will not be shared between the same application loaded in two different Terminal Services sessions.



  • steve hayles

    Up
  • Are NGen images shareable between processes under different windows accounts