Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "NetRemoteTOD" in [All]

netapi32

.

static extern int NetRemoteTOD(string UncServerName, ref IntPtr BufferPtr);

.

     <DllImport("netapi32", CharSet:=CharSet.Unicode)> Function NetRemoteTOD( _

.

public class GetNetRemoteTOD

.

        [DllImport( "netapi32.dll" , EntryPoint="NetRemoteTOD",  SetLastError=true,

.

        CallingConvention=CallingConvention.StdCall)] private static extern int NetRemoteTOD(string UncServerName, ref IntPtr BufferPtr);

.

        public int [] xNetRemoteTOD( string ServerName )

.

            int pintError = NetRemoteTOD(ServerName, ref pintBuffer);

.

}    // End class GetNetRemoteTOD

.

            GetNetRemoteTOD gnrTOD = new GetNetRemoteTOD();                        

.

                TOD_Info = gnrTOD.xNetRemoteTOD( ServerName );

.

                Console.WriteLine ("NetRemoteTOD from " + ServerName + " failed!\nError: " + err.Message );

.
Documentation
[NetRemoteTOD] on MSDN

 
Access PInvoke.net directly from VS: