Not able to monitor map drive if File system property is VFS and FAT,Directory.GetAccessControl(Path) API throw exception.
We have created 3 MAP drive of our 3 different MFP and NAS in our PC. Z:/ ,X:/ and Y:/
File system property of Z:/ is NTFS and for X:/ is VFS and for Y:/ is FAT.
we are able to Monitor for NTFS file system MAP drive(Z:/) through our WPF Application .
But for VFS(X:/) or FAT(Y:) MFP's File system property
Directory.GetAccessControl(Path) API method throw below system exception. And unbale to Monitor the MAP drive
Method failed with unexpected error code 50.
we did not get any clue why this system exception coming for X:/ and Y:/ .and why no any exception came for Z:/ and other NTFS local MAP drive .