CAS and System.Diagnostics.Process -
09-28-2007
, 07:07 AM
Hi!
Does anyone know if it it is possible to find out the currently running
process id without having to enable full trust for the assembly.
I'm writing a utillity-assembly providing logging-functionallity to be used
in a partners wss3-application. I cant require them to give my assembly
"Full trust" permission (or unsrestricted=True, as the setting is in the
policy-file). As far as I can see the System.Diagniostics.Process-methods all
requires "Full trust", even if I only want to obtain the processid via the
Process.ID field. I have tried but get a LinkDemand exception.
Any ideas, anyone? |