[DllImport("netapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern uint NetDfsSetInfo( string DfsEntryPath, string ServerName, string ShareName, uint Level, IntPtr Buffer );
Microsoft documentation: Link
Last updated 1 year ago