List logged in users in LAN
Is there any way in C# to write a program that will list the currently logged in users i the LAN?
I made a program in VB a couple of years ago that used the DOS-funcktion "net view" to get the names of the computers in the LAN and then used nbtstat to check who's logged in at each computer. Can this be done in C# without calling DOS commands?