2010/121 [C#] ICSharpCode 라이브러리를 이용한 파일 압축 / 해제 class ZipLib { //파일 경로 가져오기 public static string[] GetFileList(string path) { string[] files = Directory.GetFiles(path); string[] directories = Directory.GetDirectories(path); if (directories.Length > 0) { foreach (string directory in directories) { string[] subfiles = GetFileList(directory); //재귀 if (subfiles.Length > 0) { int len = files.Length; string[] newlist = new string[len + subfiles.Len.. 2010. 12. 13. 이전 1 다음