Get AD site name on Locked Down XP System

Everyone on the web seemed to point to

Found myself on a locked down XP system needing to get this programmatically and came up with the below

Not fast but it works reliably to date


Leave a Reply

Your email address will not be published.