• 大小: 0.23M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 进程  内存  CPU  

资源简介


资源截图

代码片段和文件信息

using System;
using System.IO;
using System.Collections;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading;

namespace Lemony.SystemInfo
{

/// 
/// CustomMarshaler class implementation.
/// 

public abstract class CustomMarshaler
{
#region Fields
// The internal buffer
internal byte[] data;
private MemoryStream stream;
private BinaryReader binReader;
private BinaryWriter binWriter;

#endregion

#region constructors

public CustomMarshaler()
{

}

#endregion

#region public methods

public void Deserialize()
{
if (data != null)
{
if (binReader != null)
{
binReader.Close();
stream.Close();
}
// Create a steam from byte arr

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

     文件      36864  2009-08-19 14:36  SystemInfo1\bin\Lemony.SystemInfo.dll

     文件      65024  2009-08-19 14:36  SystemInfo1\bin\Lemony.SystemInfo.pdb

     文件      36864  2009-08-19 14:36  SystemInfo1\bin\Test.exe

     文件      38400  2009-08-19 14:36  SystemInfo1\bin\Test.pdb

     文件       5632  2005-12-08 14:51  SystemInfo1\bin\Test.vshost.exe

     文件      36864  2009-08-19 14:36  SystemInfo1\SystemInfo\bin\Lemony.SystemInfo.dll

     文件      65024  2009-08-19 14:36  SystemInfo1\SystemInfo\bin\Lemony.SystemInfo.pdb

     文件      36864  2009-08-19 14:36  SystemInfo1\SystemInfo\bin\Test.exe

     文件      38400  2009-08-19 14:36  SystemInfo1\SystemInfo\bin\Test.pdb

     文件       5632  2005-12-08 14:51  SystemInfo1\SystemInfo\bin\Test.vshost.exe

     文件      14926  2007-03-29 09:06  SystemInfo1\SystemInfo\CustomtMarshaler.cs

     文件        908  2007-03-29 09:06  SystemInfo1\SystemInfo\DiskInfo.cs

     文件        885  2007-03-29 09:06  SystemInfo1\SystemInfo\IpInfo.cs

     文件       2000  2007-03-29 09:07  SystemInfo1\SystemInfo\MIB_IFROW.cs

     文件        557  2007-03-29 09:07  SystemInfo1\SystemInfo\MIB_IFTABLE.cs

     文件       3427  2007-03-29 09:07  SystemInfo1\SystemInfo\NetInfo.cs

     文件      36864  2009-08-19 14:36  SystemInfo1\SystemInfo\obj\Debug\Lemony.SystemInfo.dll

     文件      65024  2009-08-19 14:36  SystemInfo1\SystemInfo\obj\Debug\Lemony.SystemInfo.pdb

     文件        168  2009-08-19 14:37  SystemInfo1\SystemInfo\obj\SystemInfo.csproj.FileList.txt

     文件       1519  2007-03-29 09:07  SystemInfo1\SystemInfo\ProcessInfo.cs

     文件       1321  2007-03-29 09:04  SystemInfo1\SystemInfo\Properties\AssemblyInfo.cs

     文件      14926  2007-03-29 09:06  SystemInfo1\SystemInfo\SystemInfo\CustomtMarshaler.cs

     文件        908  2007-03-29 09:06  SystemInfo1\SystemInfo\SystemInfo\DiskInfo.cs

     文件        885  2007-03-29 09:06  SystemInfo1\SystemInfo\SystemInfo\IpInfo.cs

     文件       2000  2007-03-29 09:07  SystemInfo1\SystemInfo\SystemInfo\MIB_IFROW.cs

     文件        557  2007-03-29 09:07  SystemInfo1\SystemInfo\SystemInfo\MIB_IFTABLE.cs

     文件       3427  2007-03-29 09:07  SystemInfo1\SystemInfo\SystemInfo\NetInfo.cs

     文件      36864  2009-08-19 14:36  SystemInfo1\SystemInfo\SystemInfo\obj\Debug\Lemony.SystemInfo.dll

     文件      65024  2009-08-19 14:36  SystemInfo1\SystemInfo\SystemInfo\obj\Debug\Lemony.SystemInfo.pdb

     文件        168  2009-08-19 14:37  SystemInfo1\SystemInfo\SystemInfo\obj\SystemInfo.csproj.FileList.txt

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

评论

共有 条评论