| |
Name |
Description |
|
AcquireLock
|
Opens the ipod_control\iTunes\iTunesLock file and locks it for exclusive access. This means if the user tries to 'Safely remove hardware' from the system tray, Windows will disallow removal. Otherwise, the device will likely be able to be disconnected. Note: You must call ReleaseLock() when you're done with the iPod. |
|
AssertIsWritable
|
Throws UnsupportedITunesVersionException if writing is not supported. |
|
Eject
|
Eject iPod from Windows. If you try to Eject the iPod, and your code is running on the iPod, an exception will be thrown directing the user to close the app and use the standard windows feature. |
|
Equals |
Determines whether the specified Object is equal to the current Object. (inherited from Object) |
|
GetAllConnectedIPods
|
Returns all connected iPods. This is slower than GetConnectediPod as it must enumerate all drives, so only use if you know you need to handle multiple iPods at once. |
|
GetConnectedIPod
|
Overloaded. Returns the first detected iPod. Do not sync PlayCounts file. |
|
GetHashCode |
Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (inherited from Object) |
|
GetiPodByDrive
|
Loads the iPod from the specified drive. If you already know the iPod's drive letter, this is more performant than calling GetConnectedIPod(). |
|
GetType |
Gets the Type of the current instance. (inherited from Object) |
|
ReleaseLock
|
Closes and deletes the iTunesLock file locked in the AcquireLock() call. |
|
SaveChanges
|
Save changes to iPod database (DeviceFileSystem.iTunesDBPath, DeviceFileSystem.ArtworkDBPath). This will only perform a save if changes have been made, otherwise will immediately return. |
|
ToString
|
Overridden. |