HighTechTalks DotNet Forums  

CAS and System.Diagnostics.Process

Dotnet Security microsoft.public.dotnet.security


Discuss CAS and System.Diagnostics.Process in the Dotnet Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Andreas Augustine
 
Posts: n/a

Default 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?

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.