One can use either UNC or IPv4 address to connect to a shared folder on a remote machine using net use
, e.g.:
net use \\remotePC\SharedFolder // valid
net use \\111.122.1.1\SharedFolder // valid
Is it possible for user to connect using IPv6 as well? Is it something that needs to be configured separately but is technically possible? If I try to specify IPv6 address, I get error 53:
The network path was not found.
The reason I'm asking is because one of my programs accepts a remote shared folder location as an input parameter - I need to evaluate whether the location is valid. I know it's valid if it's a UNC path or an IPv4 address, but am not sure if IPv6 should be allowed or simply result in an error.