Just wonder if any one have the experience to do this.
Supposed that I have 2 kind of path:
string path1 = "\\machinename\path";
string path2 = "Y:\path";//Y is network drive
I need a function to do this
string ip1 = GetIP(path1);//ip1 needs to be the ip address of \\machinename
string ip2 = GetIP(path2);//ip2 needs to be the ip address of Y:
I could not find a good answer on Google search, can anyone give me a hint?
Thank you in advance.