Anyone had luck running the Windows API function NetServerEnum on Windows 10? I'm getting this error:
---------------------------
NetServerEnum Error
---------------------------
Error #384
You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.
Your system requires SMB2 or higher. For more info on resolving this issue, see: https://go.microsoft.com/fwlink/?linkid=852747
---------------------------
OK
---------------------------
I'm trying to get a list of machines like what appears in Windows Explorer under the Network node.