title: loadFromRemoteSources error using Assembly.LoadFrom
body: <p>I have the below code in a .Net 4 Winforms app which loads an assembly.  All files are on a C:.  There are numerous DLL's which work fine but two error with the following: </p>
  
  <blockquote>
    <p>An attempt was made to load an assembly from a network location  which
    would have caused the assembly to be sandboxed in previous versions of
    the .NET                                 Framework. This release of
    the .NET Framework does not enable CAS policy by default, so  this
    load may be dangerous. If this load is not intended to sandbox the
    assembly, please  enable the loadFromRemoteSources switch. See
    <a href="http://go.microsoft.com/fwlink/?LinkId=155569" rel="noreferrer">http://go.microsoft.com/fwlink/?LinkId=155569</a>  for more information.</p>
  </blockquote>
  
  <p>This only seems to be a problem on some PCs</p>
  
  <p>Here is the code:</p>
  
  <pre><code>strDLLs = Directory.GetFileSystemEntries(strPath, "*.dll")
  For intIndex = 0 To strDLLs.Length - 1
      Try
          objDLL = [Assembly].LoadFrom(strDLLs(intIndex))
          ExamineAssembly(objDLL, strInterface, Plugins)
  
      Catch e As Exception
          ' MsgBox("Error whilst loading Library: " &amp; strDLLs(intIndex) &amp; ". Reported Error was:" &amp; vbCrLf &amp; e.ToString)
      End Try
  Next
  </code></pre>