ConnectUNCWithCredentials.UNCAccessWithCredentials.NetUseAdd C# (CSharp) Метод

NetUseAdd() приватный Метод

private NetUseAdd ( System.String UncServerName, UInt32 Level, USE_INFO_2 &Buf, UInt32 &ParmError ) : UInt32
UncServerName System.String
Level System.UInt32
Buf USE_INFO_2
ParmError System.UInt32
Результат System.UInt32
        internal static extern NET_API_STATUS NetUseAdd(
            LPWSTR UncServerName,
            DWORD Level,
            ref USE_INFO_2 Buf,
            out DWORD ParmError);