Posted By

melbic on 04/13/10


Tagged

cocoa


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

oakdragon
umang_nine


Mount smb


 / Published in: Objective C
 

  1. NSURL *url = [NSURL URLWithString:@"smb://vf3.hsr.ch/skripte"];
  2. FSVolumeRefNum volumeRefNum;
  3. FSMountServerVolumeSync((CFURLRef)url,
  4. NULL,
  5. NULL,
  6. NULL,
  7. &volumeRefNum,
  8. 0
  9. );

Report this snippet  

You need to login to post a comment.