Exemple #1
0
        public string ExtractContainerName(string mountName)
        {
            //throws System.InvalidOperationException: No element satisfies the condition in predicate.
            //-or- The source sequence is empty.
            var driveInfo = (AzureDriveInfo)DriveInfo.FromDriveName(mountName);

            return(driveInfo.ContainerName);
        }