| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -413,14 +413,6 @@ public static Assembly AddReference(string name) | |||
| 413 | 413 | { | |
| 414 | 414 | assembly = AssemblyManager.LoadAssemblyFullPath(name); | |
| 415 | 415 | } | |
| 416 | - if (System.IO.File.Exists(name)) | ||
| 417 | - { | ||
| 418 | - var zone = System.Security.Policy.Zone.CreateFromUrl(name); | ||
| 419 | - if (zone.SecurityZone != System.Security.SecurityZone.MyComputer) | ||
| 420 | - { | ||
| 421 | - throw new Exception($"File is blocked (NTFS Security)"); | ||
| 422 | - } | ||
| 423 | - } | ||
| 424 | 416 | if (assembly == null) | |
| 425 | 417 | { | |
| 426 | 418 | throw new FileNotFoundException($"Unable to find assembly '{name}'."); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments