Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void FinishedLaunching (NSObject notification)
- {
- bool isRemovable = false;
- bool isWritable = false;
- bool isUnmountable = false;
- string hasDescription = string.Empty;
- string hasFilesystemType = string.Empty;
- foreach (string mount in NSWorkspace.SharedWorkspace.MountedLocalVolumePaths)
- {
- NSWorkspace.SharedWorkspace.GetFileSystemInfo(mount, isRemovable, isWritable, isUnmountable, hasDescription, hasFilesystemType);
- Console.WriteLine("Mount Point: {0}", mount);
- }
Add Comment
Please, Sign In to add comment