win32net.NetShareCheck
(ret, type) = NetShareCheck(server, deviceName )
Checks if server is sharing a device
Parameters
Win32 API References
Return Value
The result is (1, type-of-device) if device is shared, (0, None) if it is not shared.
(ret, type) = NetShareCheck(server, deviceName )
Checks if server is sharing a device