基本信息
源码名称:C#获取本地证书
源码大小:0.03M
文件格式:.rar
开发语言:C#
更新时间:2022-02-12
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559

本次赞助数额为: 2 元 
   源码介绍

C#获取本地证书

动态获取本计算机上的所有证书


X509Store store = new X509Store(StoreName.AuthRoot);
            store.Open(OpenFlags.ReadWrite);
            X509Certificate2 certificate = new X509Certificate2();
            X509Certificate2Collection storecollection3 = (X509Certificate2Collection)store.Certificates;

.
├── WindowsFormsApp2
│   ├── App.config
│   ├── Form1.Designer.cs
│   ├── Form1.cs
│   ├── Form1.resx
│   ├── Program.cs
│   ├── Properties
│   │   ├── AssemblyInfo.cs
│   │   ├── Resources.Designer.cs
│   │   ├── Resources.resx
│   │   ├── Settings.Designer.cs
│   │   └── Settings.settings
│   ├── WindowsFormsApp2.csproj
│   ├── bin
│   │   └── Debug
│   │       ├── WindowsFormsApp2.exe
│   │       ├── WindowsFormsApp2.exe.config
│   │       └── WindowsFormsApp2.pdb
│   └── obj
│       └── Debug
│           ├── DesignTimeResolveAssemblyReferences.cache
│           ├── DesignTimeResolveAssemblyReferencesInput.cache
│           ├── TempPE
│           ├── TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
│           ├── TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
│           ├── TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
│           ├── WindowsFormsApp2.Form1.resources
│           ├── WindowsFormsApp2.Properties.Resources.resources
│           ├── WindowsFormsApp2.csproj.CoreCompileInputs.cache
│           ├── WindowsFormsApp2.csproj.FileListAbsolute.txt
│           ├── WindowsFormsApp2.csproj.GenerateResource.cache
│           ├── WindowsFormsApp2.csprojAssemblyReference.cache
│           ├── WindowsFormsApp2.exe
│           └── WindowsFormsApp2.pdb
├── WindowsFormsApp2.sln
└── 好例子网_WindowsFormsApp2.rar

7 directories, 29 files