Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

loadFromRemoteSources and local network share

$
0
0

Hi,

The documentation for the <loadFromRemoteSources> setting in the .config file says:

"In the .NET Framework 4.5, assemblies on local network shares are run as full trust by default; you do not have to enable the<loadFromRemoteSources> element. "

How does the framework know if a share is "local network" or not? Can I inspect/change it?

I have a .Net 4.5.1 application running from a share "\\server\sharename\myapp.exe."

It will not load assemblies from the share unless I add <loadFromRemoteSources> in the config file.
(the assmeblies are not flagged as "from the web")

Does this mean the share is not "local network"?


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>