title: Load assembly from network location
body: <p>I am trying to load assembly by :</p>
  
  <pre><code>Assembly component = Assembly.LoadFrom(componentPath);
  </code></pre>
  
  <p>where <code>componentPath</code> is a full path of network location and get the the following error: </p>
  
  <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.<br>
  This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous.  </p>
  
  <p>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>
  
  <p>Can you please explan what should i do to avoid this security check ?  </p>
  
  <p>Thank You </p>