Does anyone know how I can derive a list of computer names on a network and what domain they are in via some API calls?

Could you also please email me at [email protected]

Thank you

David Stephen