资源简介

应用SharpCompress0.22开源包进行文件的解压缩(zip,rar文件),已处理中文乱码问题,例子很基础.源码环境 VS2017 15.3 .

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;

namespace winrarzip
{
    public class Program
    {
        public static void Main(string[] args)
        {
            CreateWebHostBuilder(args).Build().Run();
        }

        public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
            WebHost.CreateDefaultBuilder(args)
                .UseStartup();
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      79990  2018-09-12 14:09  .vs\config\applicationhost.config

     文件    1203540  2018-09-12 15:10  .vs\winrarzip\DesignTimeBuild\.dtbcache

    ..A..H.     34304  2018-09-12 15:10  .vs\winrarzip\v15\.suo

     文件          0  2018-09-12 11:47  .vs\winrarzip\v15\Server\sqlite3\db.lock

     文件    1945600  2018-09-12 14:41  .vs\winrarzip\v15\Server\sqlite3\storage.ide

     文件      32768  2018-09-12 11:47  .vs\winrarzip\v15\Server\sqlite3\storage.ide-shm

     文件    4120032  2018-09-12 15:10  .vs\winrarzip\v15\Server\sqlite3\storage.ide-wal

     文件        146  2018-09-12 11:47  winrarzip\appsettings.Development.json

     文件        105  2018-09-12 11:47  winrarzip\appsettings.json

     文件     229753  2018-09-12 14:09  winrarzip\bin\Debug\netcoreapp2.1\winrarzip.deps.json

     文件      11264  2018-09-12 15:00  winrarzip\bin\Debug\netcoreapp2.1\winrarzip.dll

     文件       2240  2018-09-12 15:00  winrarzip\bin\Debug\netcoreapp2.1\winrarzip.pdb

     文件        236  2018-09-12 14:09  winrarzip\bin\Debug\netcoreapp2.1\winrarzip.runtimeconfig.dev.json

     文件        224  2018-09-12 14:09  winrarzip\bin\Debug\netcoreapp2.1\winrarzip.runtimeconfig.json

     文件      85504  2018-09-12 15:00  winrarzip\bin\Debug\netcoreapp2.1\winrarzip.Views.dll

     文件       6472  2018-09-12 15:00  winrarzip\bin\Debug\netcoreapp2.1\winrarzip.Views.pdb

     文件       2739  2018-09-12 15:09  winrarzip\Controllers\HomeController.cs

     文件        217  2018-09-12 11:47  winrarzip\Models\ErrorViewModel.cs

     文件       3566  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Home\About.g.cshtml.cs

     文件       3893  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Home\Contact.g.cshtml.cs

     文件      15416  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Home\Index.g.cshtml.cs

     文件       3286  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Home\Privacy.g.cshtml.cs

     文件       4465  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Shared\Error.g.cshtml.cs

     文件       9682  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Shared\_CookieConsentPartial.g.cshtml.cs

     文件      53570  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Shared\_Layout.g.cshtml.cs

     文件      18542  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\Shared\_ValidationscriptsPartial.g.cshtml.cs

     文件       2496  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\_ViewImports.g.cshtml.cs

     文件       2776  2018-09-12 14:09  winrarzip\obj\Debug\netcoreapp2.1\Razor\Views\_ViewStart.g.cshtml.cs

     文件          0  2018-09-12 11:47  winrarzip\obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2018-09-12 11:47  winrarzip\obj\Debug\netcoreapp2.1\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

............此处省略122个文件信息

评论

共有 条评论