Does anyone know how to tell whether a user is on a peer-to-peer or regular network?
So, I have a part in my program that accesses the Active Directory to get all the printers on the network. It works fine. But, now we are trying to see what breaks when the program is on a peer-to-peer network. And, when you try to access the active directory on a peer-to-peer network, it gives an error.
I suppose there is no active directory for this kind of network. So, I will go in a different direction when that is the case, but I need to know how to diffirentiate between a peer-to-peer network and what I will call a regular network.
The best idea I have it to try to access the active directory, and if it errors, assume they are on a peer-to-peer network.
Thanks in advance




Reply With Quote