How to receive the list connected USB Flash drive?

Discussion in 'Mac Programming' started by DeDMakar, Apr 4, 2008.

  1. macrumors member

    Joined:
    Mar 24, 2008
    #1
    How to receive the list connected USB Flash drive and a way to one of them? What to use functions?
     
  2. macrumors G4

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    What language are you programming in? If you're writing Cocoa apps in Objective-C, then NSFileManager functions are what you'll need to call.

    The File Manager is the equivalent API in Carbon.
     
  3. thread starter macrumors member

    Joined:
    Mar 24, 2008
    #3
    Thanks.:)
    I use
    Code:
    NSArray *arVolumes = [[NSWorkspace sharedWorkspace] mountedRemovableMedia];
     

Share This Page