• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Server Address from Mounted SMB Volume
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Server Address from Mounted SMB Volume
      • From: "Herb Petschauer" <email@hidden>
  • Prev by Date: Re: Garbage Collection in Objective-C++
  • Next by Date: Re: Set focus on NSView in an NSMenuItem
  • Previous by thread: Searching for "whole word" in NSString
  • Next by thread: Re: Server Address from Mounted SMB Volume
  • Index(es):
    • Date
    • Thread