Simple one really. I have a network share I want to reference within my C# code.
So I have the UNC path //obiwan/share/accesslog.txt
Problem is, the 'share' share is passworded. How do I log into the file when the File.* commands only take a UNC path and that convention doesn't support the [tt]<user>:<pass>@<location>[/tt] form - at (at least it keeps claiming it doesn't).
So I have the UNC path //obiwan/share/accesslog.txt
Problem is, the 'share' share is passworded. How do I log into the file when the File.* commands only take a UNC path and that convention doesn't support the [tt]<user>:<pass>@<location>[/tt] form - at (at least it keeps claiming it doesn't).