[Mono-osx] Getting HOME directory, in Mac.
Virginijus
mrgutis at gmail.com
Thu Aug 25 06:53:37 EDT 2011
For that there's Environment.SpecialFolder.Personal
Regards,
Virgis
On Thu, Aug 25, 2011 at 1:44 PM, Amit Vyas <amitvyas.cse at gmail.com> wrote:
> Hi ,
>
> I am using Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
> which is translating to users Home Directory e.g. /Users/User and
> /Users/admin
>
> Can this change to some other location other than HOME on Mac?
>
> or I am safe in using Environment.GetEnvironmentVariable("HOME");
>
> Thanks for the help.
> --
> Regards.
> Amit Vyas
>
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110825/c86f7a15/attachment.html
More information about the Mono-osx
mailing list