자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/// <summary> /// Gets the network shares. /// </summary> /// <param name="path">The path.</param> /// <returns>IEnumerable{FileSystemEntryInfo}.</returns> private IEnumerable <FileSystemEntryInfo> GetNetworkShares(string path) { return(_networkManager.GetNetworkShares(path).Where(s => s.ShareType == NetworkShareType.Disk).Select(c => new FileSystemEntryInfo { Name = c.Name, Path = Path.Combine(path, c.Name), Type = FileSystemEntryType.NetworkShare })); }