Environment Variable
From: Aku (anonymous_at_devdex.com)
Date: 10/12/04
- Next message: Ignacio Machin \( .NET/ C# MVP \): "Re: Identify if a file is being used by another thread"
- Previous message: Nick Malik: "Re: Trying to use FAXCOMEX.dll in my C#.Net Application"
- Next in thread: Jon Skeet [C# MVP]: "Re: Environment Variable"
- Reply: Jon Skeet [C# MVP]: "Re: Environment Variable"
- Reply: Abubakar: "Re: Environment Variable"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 12 Oct 2004 07:41:02 -0700
Hello,
In the 'old-days', WIN32-API/MFC, it is possible to create a temporary
key in the registry to satisfy a particular app.
It's done with 'SetEnvironmentVariable(name, value)".
Once the app ceased its activities, the environment vars are
automatically destroyed. It's also contained to that particular app only
- outside of it, they are unknown.
I'm searching a similar method within C#, using
Microsoft.Win32.Registry, but can't find an equivalent.
Somebody knows how?
Regards, Aku.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Ignacio Machin \( .NET/ C# MVP \): "Re: Identify if a file is being used by another thread"
- Previous message: Nick Malik: "Re: Trying to use FAXCOMEX.dll in my C#.Net Application"
- Next in thread: Jon Skeet [C# MVP]: "Re: Environment Variable"
- Reply: Jon Skeet [C# MVP]: "Re: Environment Variable"
- Reply: Abubakar: "Re: Environment Variable"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|