Method | Description | |
---|---|---|
getNetworkComputers ( ) : List |
Uses the DllImport : NetServerEnum with all its required parameters (see http://msdn.microsoft.com/library/default.asp? url=/library/en-us/netmgmt/netmgmt/netserverenum.asp for full details or method signature) to retrieve a list of domain SV_TYPE_WORKSTATION and SV_TYPE_SERVER PC's
|
Method | Description | |
---|---|---|
NetApiBufferFree ( |
Netapi32.dll : The NetApiBufferFree function frees the memory that the NetApiBufferAllocate function allocates. Call NetApiBufferFree to free the memory that other network management functions return.
|
|
NetServerEnum ( string ServerNane, int dwLevel, |
Netapi32.dll : The NetServerEnum function lists all servers of the specified type that are visible in a domain. For example, an application can call NetServerEnum to list all domain controllers only or all SQL servers only. You can combine bit masks to list several types. For example, a value of 0x00000003 combines the bit masks for SV_TYPE_WORKSTATION (0x00000001) and SV_TYPE_SERVER (0x00000002)
|