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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy

Search Results for "NetServerGetInfo" in [All]

netapi32

.

public static extern int NetServerGetInfo(

.

Declare Function NetServerGetInfo Lib "netapi32.dll" (ByVal ServerName As String, _

.

    lRetCode = NetServerGetInfo(vbNullString, 102, ptrBuff)

.

private static extern int NetServerGetInfo(string serverName, int level, out IntPtr pSERVER_INFO_XXX);

.

public static T NetServerGetInfo<T>(string serverName = null, int level = 0) where T : struct

.

       int ret = NetServerGetInfo(serverName, level, out ptr);

.

    var serverInfo = NetServerGetInfo<SERVER_INFO_101>("SVR0123");

.

        if(NetServerGetInfo(domainInfo.DomainControllerName, 101, out pSI)==0)

.
Documentation
[NetServerGetInfo] on MSDN

 
Access PInvoke.net directly from VS: