[void] [System.Reflection.Assembly]::LoadFrom("c:\Ionic.Zip.dll")
or
[System.Reflection.Assembly]::LoadFrom("c:\Ionic.Zip.dll") | Out-Null
"RCN" wrote:
> A newbie question..
>
> When I invoke [System.Reflection.Assembly]::LoadFrom() to load an assembly
> (Ionic.Zip.dll in this case) I get a ton of verbose "Evidence" output on the
> cmd line. Basically in an XML element called <RawData>... goes on and on.
>
> I understand this has to do with the security and permissions setting for
> the assembly. I'm wondering if I can suppress this output and perhaps speed
> things up.
>
> Many thanks for your help!
>
> RCN