how do i get the server name and share name of a mount without using deprecated API like FSGetVolumeInfo and FSCopyURLForVolume
i need to translate UNC style strings to local file path like :
\\servername\share\path\file.dat
may translate to /Volumes/share2/path/file.dat
Shares may come from windows or mac file servers
MacOS should be supportet back to 10.12.