コード例 #1
0
        private void Test()
        {
            DirectoryObject directory = new DirectoryObject("C:\\")
                                        .SubDirectory("Users")
                                        .SubDirectory("Jon")
                                        .SubDirectory("Desktop");

            //Console.WriteLine("Search Parameters - Pattern: " + searchInfo.SearchPattern + " | " +  searchInfo.MinimumDate.ToShortDateString() + " | " + "Max Size: " + searchInfo.MaximumSize);

            FileObject file = directory.File("TestRights.txt");

            Globals.ResultType archiveResult = file.Archive(System.IO.Compression.CompressionLevel.NoCompression);
        }