[Gtk-sharp-list] setenv equivalent in C# mono

Joe Dluzen jdluzen at gmail.com
Wed Aug 8 10:01:13 EDT 2007


Hello,
Environment.GetEnvironmentVariable
Environment.GetEnvironmentVariables
Environment.SetEnvironmentVariable

should be what you need.

regards,
Joe

On 8/8/07, Murugan K <kmurugan at novell.com> wrote:
> Hi All,
>
> In my C# code, I want to set some environment variables and want to call one perl script which will consume those variables using StartProcess . Is there any equivalent  API to setenv and getenv in mono C# which can be consumed by StartProcess alone.  I am looking for some alternative  other than import LIBC setenv.
>
> Thanks in advance.
>
>  Regards
> K.Murugan
>
>
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>


More information about the Gtk-sharp-list mailing list