• 大小: 0.05M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-14
  • 语言: C#
  • 标签: 自定义  

资源简介


代码片段和文件信息

using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Management;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DemoEnvironment
{
    public partial class MainFrom : Form
    {
        public MainFrom()
        {
            InitializeComponent();
        }

        private void MainFrom_Load(object sender EventArgs e)
        {
            string machineName = Environment.MachineName;
            string osVersionName = GetOsVersion(Environment.OSVersion.Version);
            string servicePack = Environment.OSVersion.ServicePack;
            osVersionName = osVersionName + “ “ + servicePack;
        

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

     文件        189  2017-05-03 22:34  DemoEnvironment\App.config

     文件      19456  2017-05-05 19:51  DemoEnvironment\bin\Debug\DemoEnvironment.exe

     文件        189  2017-05-03 22:34  DemoEnvironment\bin\Debug\DemoEnvironment.exe.config

     文件      28160  2017-05-05 19:51  DemoEnvironment\bin\Debug\DemoEnvironment.pdb

     文件      22696  2017-05-05 19:56  DemoEnvironment\bin\Debug\DemoEnvironment.vshost.exe

     文件        189  2017-05-03 22:34  DemoEnvironment\bin\Debug\DemoEnvironment.vshost.exe.config

     文件        490  2015-10-22 09:54  DemoEnvironment\bin\Debug\DemoEnvironment.vshost.exe.manifest

     文件       3990  2017-05-04 22:37  DemoEnvironment\DemoEnvironment.csproj

     文件       7880  2017-05-05 19:51  DemoEnvironment\MainFrom.cs

     文件      25370  2017-05-05 19:51  DemoEnvironment\MainFrom.Designer.cs

     文件       5817  2017-05-05 19:51  DemoEnvironment\MainFrom.resx

     文件        747  2017-05-05 19:56  DemoEnvironment\obj\Debug\DemoEnvironment.csproj.FileListAbsolute.txt

     文件       1016  2017-05-05 19:51  DemoEnvironment\obj\Debug\DemoEnvironment.csproj.GenerateResource.Cache

     文件       2538  2017-05-04 22:37  DemoEnvironment\obj\Debug\DemoEnvironment.csprojResolveAssemblyReference.cache

     文件      19456  2017-05-05 19:51  DemoEnvironment\obj\Debug\DemoEnvironment.exe

     文件        180  2017-05-05 19:51  DemoEnvironment\obj\Debug\DemoEnvironment.MainFrom.resources

     文件      28160  2017-05-05 19:51  DemoEnvironment\obj\Debug\DemoEnvironment.pdb

     文件        180  2017-05-04 22:37  DemoEnvironment\obj\Debug\DemoEnvironment.Properties.Resources.resources

     文件       1464  2017-05-04 22:20  DemoEnvironment\obj\Debug\DesignTimeResolveAssemblyReferences.cache

     文件       7268  2017-05-04 22:30  DemoEnvironment\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件          0  2017-05-03 22:34  DemoEnvironment\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs

     文件          0  2017-05-03 22:34  DemoEnvironment\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs

     文件          0  2017-05-03 22:34  DemoEnvironment\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs

     文件        530  2017-05-03 22:37  DemoEnvironment\Program.cs

     文件       1338  2017-05-03 22:34  DemoEnvironment\Properties\AssemblyInfo.cs

     文件       2843  2017-05-03 22:34  DemoEnvironment\Properties\Resources.Designer.cs

     文件       5612  2017-05-03 22:34  DemoEnvironment\Properties\Resources.resx

     文件       1102  2017-05-03 22:34  DemoEnvironment\Properties\Settings.Designer.cs

     文件        249  2017-05-03 22:34  DemoEnvironment\Properties\Settings.settings

     目录          0  2017-05-03 22:34  DemoEnvironment\obj\Debug\TempPE

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

评论

共有 条评论