G
Guest
Hi,
[Using C# .Net 1.1]
I need to update the PATH environment variable for the lifetime of my .Net
process only - I'm pinvoking my own C++ dlls and they are not always in the
same dir as my .Net app. [ I dont want to update the Windows PATH environment
variable. ] Is this possible with .Net code - the Environment class doesnt
have set methods/properties ?
If not then I suppose I can always pinvoke and use "SetEnvironmentVariable"
from Kernel32.dll.
Thanks,
RichS
[Using C# .Net 1.1]
I need to update the PATH environment variable for the lifetime of my .Net
process only - I'm pinvoking my own C++ dlls and they are not always in the
same dir as my .Net app. [ I dont want to update the Windows PATH environment
variable. ] Is this possible with .Net code - the Environment class doesnt
have set methods/properties ?
If not then I suppose I can always pinvoke and use "SetEnvironmentVariable"
from Kernel32.dll.
Thanks,
RichS