What property should you use to achieve this objective?

You have recently created an application domain for Domain.com.
A few weeks later, you are required to determine if assembly references in this application domain,
which is the current application domain, are being cached.
What property should you use to achieve this objective?

You have recently created an application domain for Domain.com.
A few weeks later, you are required to determine if assembly references in this application domain,
which is the current application domain, are being cached.
What property should you use to achieve this objective?

A.
AppDomain.CurrentDomain.ShadowCopyFiles

B.
AppDomain.CurrentDomain.CachePath

C.
AppDomain.CurrentDomain.ConfigurationFile

D.
AppDomain.CurrentDomain.Evidence

Explanation:
The ShadowCopyFiles property of the AppDomain class contains a Boolean value
that indicates whether assembly references are being cached or not.
Incorrect Answers:
B, C: These options are properties of the AppDomainSetup class.
D: This property is not used in caching.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


mr_tienvu

mr_tienvu

I choose A