"Mattias Sjögren" wrote:
>
> >NetUserEnum("\\nataliya", 0, 2, out bufPtr, -1, out EntriesRead, out
>
> Keep in mind that \ is an escape character in C#, and \\ effectively
> becomes just a single \ which isn't a valid UNC prefix. You need
> "\\\\nataliya" or @"\\nataliya".
>
>
> Mattias
>
> --
> Mattias Sjögren [MVP] mattias @ mvps.org
>
http://www.msjogren.net/dotnet/ |
http://www.dotnetinterop.com > Please reply only to the newsgroup.