first hit when I searched on 'C# get network computers' on google:

http://www.codeproject.com/KB/IP/Lis...Computers.aspx


works just fine