I need a way to identify on what domain or workgroup a particular computer belongs. Does anyone know of an easy way to do this I'm just identifying computers via the System.Net.NetworkInformation.Ping class, so if there's maybe a more efficient system that's already implemented through the shell or something to view all the computers on the network and their shares that would be great and appreciated as well.