Ask a Question related to ASP.NET Security, Design and Development.
-
nicho #1
addfulltrust
I want to add my dll to the fulltrust list.
But before my dll could be strongname, I must make sure
that all libraries are strongname(for example,
kernel32.dll). What can I do if other libs are not
strongname?
nicho Guest
-
Joe Kaplan \(MVP - ADSI\) #2
Re: addfulltrust
Basically, you can either strong name the dependent assemblies or not use
them.
Note that this only applies to managed assemblies that you reference.
Kernel32.dll (which you mentioned) isn't a .NET assembly nor is it a COM
object that you might have an interop wrapper assembly for, so you would
likely only be calling that via P/Invoke.
Note that you will need to apply the AllowPartiallyTrustedCallersAttribute
to your assembly if you plan to call it from any partially trusted code.
HTH,
Joe K.
"nicho" <fessboy@tom.com> wrote in message
news:24f1001c38d4b$e37ba260$a601280a@phx.gbl...> I want to add my dll to the fulltrust list.
> But before my dll could be strongname, I must make sure
> that all libraries are strongname(for example,
> kernel32.dll). What can I do if other libs are not
> strongname?Joe Kaplan \(MVP - ADSI\) Guest



Reply With Quote

