I'm connecting to a network share with 'WNetAddConnection2' from c#. This works fine so far. The problem is, this connection should only be used by the apllication it creates. But if I connect to the server via Windows explorer, I also see the folders and files used by this share. I tried Impersonation before I call WNetAddConnection2 but this don't help, still the same problem.
Is there a way to connect to a network share with c#, so that this connection is exclusive for the application that it creates?
best regards Andre