Server Address from Mounted SMB Volume
Server Address from Mounted SMB Volume
- Subject: Server Address from Mounted SMB Volume
- From: "Michael Hanna" <email@hidden>
- Date: Tue, 5 Feb 2008 23:00:28 -0800
How do I find the network server name OR IP address from a mounted SMB
share(in Tiger and Leopard)?
I have tried a couple methods so far(mostly Carbon calls), but to no avail.
Using PBHGetVolParmsSync() in Tiger and FSGetVolumeParms() in Leopard
I can get the GetVolParmsInfoBuffer. the vMServerAdr field seems to
only return something meaningful for AFP shares.
FSGetVolumeInfo doesn't seem to return host information either.
perhaps there's a BSD call/tool or Cocoa call?
Michael
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden