0
Answer

List logged in users in LAN

Photo of Gugge Ruskin

Gugge Ruskin

19y
2.1k
1
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?