ΠΠ°ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅.
Π Π°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ° ΡΠ±ΠΎΡΠ° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΈΠ· Π²ΡΡΠΈΡΠ»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΡΠΈΡΡΠ΅ΠΌΡ ΠΈ ΡΠΎΡ
ΡΠ°Π½Π΅Π½ΠΈΡ Π΅Π΅ Π² ΠΎΠ±ΡΠΈΠΉ ΡΠ°ΠΉΠ» (ΠΈΠ»ΠΈ Π±Π°Π·Ρ Π΄Π°Π½Π½ΡΡ
) Π½Π° ΡΠ΅ΡΠ²Π΅ΡΠ΅
Π ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠ΅ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ ΠΊΡΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΡΠΎΠ΅ΠΊΡΠ° ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄ΡΠ½ ΡΡΠ°Π²Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ Π°Π½Π°Π»ΠΈΠ· ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΡΡ ΡΡΠ΅Π΄ΡΡΠ² Delphi ΠΈ Π‘++. Π Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠΉ ΡΡΠ΅Π΄Ρ Borland delphi ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π½Π° ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° ΠΏΠΎ ΡΠ±ΠΎΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ΅ ΠΈ Π΅Π³ΠΎ ΡΡΡΡΠΎΠΉΡΡΠ²Π°Ρ . Π Ρ ΠΎΠ΄Π΅ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ Π΄Π°Π½Π½ΠΎΠ³ΠΎ ΠΊΡΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΡΠΎΠ΅ΠΊΡΠ° Ρ ΠΏΠΎΠ»ΡΡΠΈΠ» ΠΎΠΏΡΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π² ΡΡΠ΅Π΄Π΅ borland delphi. ΠΠ°ΠΊΡΠ΅ΠΏΠΈΠ» ΡΠ²ΠΎΠΈ Π·Π½Π°Π½ΠΈΡ ΠΏΠΎ Π΄ΠΈΡΡΠΈΠΏΠ»ΠΈΠ½Π΅ «ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΠ΅… Π§ΠΈΡΠ°ΡΡ Π΅ΡΡ >
ΠΠ°ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅. Π Π°Π·ΡΠ°Π±ΠΎΡΠΊΠ° ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡΠ° ΡΠ±ΠΎΡΠ° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΈΠ· Π²ΡΡΠΈΡΠ»ΠΈΡΠ΅Π»ΡΠ½ΠΎΠΉ ΡΠΈΡΡΠ΅ΠΌΡ ΠΈ ΡΠΎΡ ΡΠ°Π½Π΅Π½ΠΈΡ Π΅Π΅ Π² ΠΎΠ±ΡΠΈΠΉ ΡΠ°ΠΉΠ» (ΠΈΠ»ΠΈ Π±Π°Π·Ρ Π΄Π°Π½Π½ΡΡ ) Π½Π° ΡΠ΅ΡΠ²Π΅ΡΠ΅ (ΡΠ΅ΡΠ΅ΡΠ°Ρ, ΠΊΡΡΡΠΎΠ²Π°Ρ, Π΄ΠΈΠΏΠ»ΠΎΠΌ, ΠΊΠΎΠ½ΡΡΠΎΠ»ΡΠ½Π°Ρ)
Π ΡΠ΅Π·ΡΠ»ΡΡΠ°ΡΠ΅ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ ΠΊΡΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΡΠΎΠ΅ΠΊΡΠ° ΠΏΡΠΎΠΈΠ·Π²Π΅Π΄ΡΠ½ ΡΡΠ°Π²Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠΉ Π°Π½Π°Π»ΠΈΠ· ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΡΡ ΡΡΠ΅Π΄ΡΡΠ² Delphi ΠΈ Π‘++. Π Ρ ΠΏΠΎΠΌΠΎΡΡΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠΉ ΡΡΠ΅Π΄Ρ Borland delphi ΡΠ°Π·ΡΠ°Π±ΠΎΡΠ°Π½Π° ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° ΠΏΠΎ ΡΠ±ΠΎΡΡ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ΅ ΠΈ Π΅Π³ΠΎ ΡΡΡΡΠΎΠΉΡΡΠ²Π°Ρ .
ΠΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° ΡΠΎΠ΄Π΅ΡΠΆΠΈΡ ΡΠ°Π·Π»ΠΈΡΠ½ΡΠ΅ ΠΏΠΎΠ΄Ρ ΠΎΠ΄Ρ ΠΈ ΠΌΠ΅ΡΠΎΠ΄Ρ Π½Π° ΡΠ°Π·Π»ΠΈΡΠ½ΡΡ ΡΡΠΎΠ²Π½ΡΡ ΡΠ±ΠΎΡΠ° Π΄Π°Π½Π½ΡΡ ΡΠΈΡΡΠ΅ΠΌΡ.
ΠΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΏΠΎΠ»ΡΡΠ΅Π½Π°:
Π½Π΅ΠΏΠΎΡΡΠ΅Π΄ΡΡΠ²Π΅Π½Π½ΠΎ ΠΈΠ· ΡΠ΅Π΅ΡΡΡΠ° ΡΠΈΡΡΠ΅ΠΌΡ;
ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΡΡ ΡΡΠ½ΠΊΡΠΈΠΉ ΡΡΠ΅Π΄Ρ ΡΠ°Π·ΡΠ°Π±ΠΎΡΠΊΠΈ;
ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΡΡΠ½ΠΊΡΠΈΠΉ WinAPI;
ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΡΡΠ½ΠΊΡΠΈΠΉ ΠΈΠΌΠΏΠΎΡΡΠΈΡΡΠ΅ΠΌΡΡ ΡΠΏΠ΅ΡΠΈΠ°Π»ΡΠ½ΡΡ ΠΊΠ»Π°ΡΡΠΎΠ²;
ΠΏΡΠΈ ΠΏΠΎΠΌΠΎΡΠΈ ΡΡΠ½ΠΊΡΠΈΠΉ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½Π½ΡΡ Π²Π½Π΅ΡΠ½ΠΈΡ Π±ΠΈΠ±Π»ΠΈΠΎΡΠ΅ΠΊ.
ΠΡΠΎΠ³ΡΠ°ΠΌΠΌΠ° ΡΠ΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Π½Π° ΡΠΎΠ³Π»Π°ΡΠ½ΠΎ Π·Π°Π΄Π°Π½ΠΈΡ ΠΊ ΠΊΡΡΡΠΎΠ²ΠΎΠΌΡ ΠΏΡΠΎΠ΅ΠΊΡΡ. ΠΡΠΎΡΠ΅ΡΡΠΈΡΠΎΠ²Π°Π½Π° Π½Π° Π΄Π²ΡΡ ΠΌΠ°ΡΠΈΠ½Π°Ρ Ρ 64-Ρ ΠΈ Ρ 32-Ρ Π±ΠΈΡΠ½ΡΠΌΠΈ ΡΠΈΡΡΠ΅ΠΌΠ°ΠΌΠΈ Windows 10 ΠΈ Windows 7 ΡΠΎΠΎΡΠ²Π΅ΡΡΡΠ²Π΅Π½Π½ΠΎ.
Π Ρ ΠΎΠ΄Π΅ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ Π΄Π°Π½Π½ΠΎΠ³ΠΎ ΠΊΡΡΡΠΎΠ²ΠΎΠ³ΠΎ ΠΏΡΠΎΠ΅ΠΊΡΠ° Ρ ΠΏΠΎΠ»ΡΡΠΈΠ» ΠΎΠΏΡΡ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ Π² ΡΡΠ΅Π΄Π΅ borland delphi. ΠΠ°ΠΊΡΠ΅ΠΏΠΈΠ» ΡΠ²ΠΎΠΈ Π·Π½Π°Π½ΠΈΡ ΠΏΠΎ Π΄ΠΈΡΡΠΈΠΏΠ»ΠΈΠ½Π΅ «ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎΠ΅ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ΅ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΠ΅».
Π‘ΠΏΠΈΡΠΎΠΊ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½Π½ΡΡ ΠΈΡΡΠΎΡΠ½ΠΈΠΊΠΎΠ²
Delphi. Π‘ΠΎΠ±ΠΈΡΠ°Π΅ΠΌ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΠΊΠΎΠΌΠΏΠ΅ [ΠΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ ΡΠ΅ΡΡΡΡ] / Π Π΅ΠΆΠΈΠΌ Π΄ΠΎΡΡΡΠΏΠ°: http://www.vr-online.ru/content/delphi-sobiraem-informaciju-o-kompe-2999. ΠΠ°ΡΠ° Π΄ΠΎΡΡΡΠΏΠ°: 01.11.2015.
Π Π°Π±ΠΎΡΠ° Ρ Π½Π΅ΠΊΠΎΡΠΎΡΡΠΌΠΈ Win API ΡΡΠ½ΠΊΡΠΈΡΠΌΠΈ (ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ ΠΎ ΡΠΈΡΡΠ΅ΠΌΠ΅) [ΠΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ ΡΠ΅ΡΡΡΡ] / Π Π΅ΠΆΠΈΠΌ Π΄ΠΎΡΡΡΠΏΠ°: http://www.realcoding.net/articles/rabota-s-nekotorymi-win-api-funktsiyami-informatsiya-o-sisteme.html ΠΠ°ΡΠ° Π΄ΠΎΡΡΡΠΏΠ°: 03.11.2015.
Π Π΅ΡΠ΅ΠΏΡΡ WMI: ΡΠ±ΠΎΡ ΡΠ²Π΅Π΄Π΅Π½ΠΈΠΉ ΠΎΠ± Π°ΠΏΠΏΠ°ΡΠ°ΡΠ½ΠΎΠΉ ΠΊΠΎΠ½ΡΠΈΠ³ΡΡΠ°ΡΠΈΠΈ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ° [ΠΠ»Π΅ΠΊΡΡΠΎΠ½Π½ΡΠΉ ΡΠ΅ΡΡΡΡ] / Π Π΅ΠΆΠΈΠΌ Π΄ΠΎΡΡΡΠΏΠ°: http://www.script-coding.com/WMI_HardWare.html. ΠΠ°ΡΠ° Π΄ΠΎΡΡΡΠΏΠ°: 04.11.2015.
ΠΠΎΠ»ΠΈΡΠ½ΠΈΡΠ΅Π½ΠΊΠΎ, Π. Π. Π‘Π΅ΠΊΡΠ΅ΡΡ, Π½Π°ΡΡΡΠΎΠΉΠΊΠ° ΠΈ ΠΎΠΏΡΠΈΠΌΠΈΠ·Π°ΡΠΈΡ ΡΠ΅Π΅ΡΡΡΠ° Windows 7. Π‘ΠΏΠ±: ΠΠ₯Π-ΠΠ΅ΡΠ΅ΡΠ±ΡΡΠ³, 2010.
ΠΡΠΏΡΠΈΡΠ½ΠΎΠ²Π°, Π. Π. Π Π΅Π΅ΡΡΡ Windows XP. ΠΠ°ΡΡΡΠΎΠΉΠΊΠΈ, ΡΡΡΠΊΠΈ, ΡΠ΅ΠΊΡΠ΅ΡΡ, 2006.
Π₯ΠΎΠ½Π΅ΠΉΠΊΠ°ΡΡ, Π. Π Π΅Π΅ΡΡΡ Microsoft Windows XP. Π ΡΠΊΠΎΠ²ΠΎΠ΄ΡΡΠ²ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠΈΠΎΠ½Π°Π»Π°, 2003.
Π€Π°ΡΠ°ΠΎΠ½ΠΎΠ², Π. Π‘ΠΈΡΡΠ΅ΠΌΠ° ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΡ Delphi 7, 2005 Π³.
ΠΠ»Π΅ΠΊΡΠ°Π½Π΄ΡΠΎΠ², Π. Microsoft Windows 2000 Professional, 2003.
ΠΠΎΠΊΠΎΡΠ΅Π², Π. Microsoft Windows XP. Home Edition, 2006 Π³.
ΠΠΎΡΠΌΠ°Π½, Π.Π. Delphi 7, 2005.
ΠΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π ΠΠΎΠ΄ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ.
unit UnitMain;
interface.
uses.
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,.
Dialogs, StdCtrls, Buttons, Registry, IdBaseComponent, IdComponent,.
IdUDPBase, IdUDPServer, IdTrivialFTPServer, IdTCPServer, IdFTPServer,.
IdTCPConnection, IdTCPClient, IdFTP, ComCtrls, Mask;
{$EXTERNALSYM NetUserEnum}.
function NetUserEnum (servername: LPWSTR;
level,.
filter: DWORD;
bufptr: Pointer;
prefmaxlen: DWORD;
entriesread,.
totalentries,.
resume_handle: LPDWORD): DWORD; stdcall;
external 'NetApi32.dll' Name 'NetUserEnum';
function NetApiBufferFree (Buffer: Pointer {LPVOID}): DWORD; stdcall;
external 'NetApi32.dll' Name 'NetApiBufferFree';
function NetUserGetInfo (ServerName, UserName: PWideChar; Level: DWORD; var Buffer: Pointer): DWORD; stdcall; external 'netapi32.dll' name 'NetUserGetInfo';
//function NetApiBufferFree (Buffer: pointer): DWORD; stdcall; external 'netapi32.dll' name 'NetApiBufferFree';
function NetWkstaUserGetInfo (ServerName: PWideChar; Level: DWORD; var Buffer: Pointer): Longint; stdcall; external 'netapi32.dll' name 'NetWkstaUserGetInfo';
type.
MAnsiChar = Array [0.1000] of AnsiChar;
TForm1 = class (TForm).
BInfo: TBitBtn;
Memo1: TMemo;
IdFTP1: TIdFTP;
stat: TStatusBar;
GroupBox1: TGroupBox;
BSend: TBitBtn;
Label1: TLabel;
EditIP: TMaskEdit;
Label2: TLabel;
EditLog: TEdit;
EditPas: TEdit;
Label3: TLabel;
EditPort: TEdit;
Label4: TLabel;
Label5: TLabel;
EditDir: TEdit;
BitBtn1: TBitBtn;
procedure BInfoClick (Sender: TObject);
// ΠΎ Π¦Π.
Procedure GetProcessorInfo;
procedure GetProcessorInfoOne (Var MyReg: TRegistry; num: String);
// ΠΎ BIOS.
procedure GetBIOSInfo;
// ΠΎ ΡΠ°Π·Π΄Π΅Π»Π°Ρ HDD.
procedure GetLogicalHDD;
// ΠΎ ΠΊΠ»Π°Π²ΠΈΠ°ΡΡΡΠ΅.
procedure GetKeyboard;
// ΠΎ ΠΌΠ°ΡΠ΅ΡΠΈΠ½ΡΠΊΠΎΠΉ ΠΏΠ»Π°ΡΠ΅.
procedure GetMotherBoard;
// ΠΎ ΠΌΡΡΠΊΠ΅.
procedure GetMouse;
// ΠΎ ΠΌΠΎΠ½ΠΈΡΠΎΡΠ΅.
procedure GetMonitor;
// ΠΎ ΡΠ΅ΡΠ΅Π²ΡΡ Π°Π΄Π°ΠΏΡΠ΅ΡΠ°Ρ .
procedure GetNet;
// ΠΎ Π·Π°ΠΏΡΡΠ΅Π½Π½ΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠ°Ρ .
procedure GetProc;
// Π Π²ΡΠ΅ΠΌΠ΅Π½ΠΈ ΡΠ°Π±ΠΎΡΡ ΡΠΈΡΡΠ΅ΠΌΡ.
Procedure GetTimeSys;
// ΠΎ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΡ .
Procedure GetLocalUserList;
procedure BSendClick (Sender: TObject);
private.
{ Private declarations }.
public.
{ Public declarations }.
end;
var.
Form1: TForm1;
implementation.
{$R *.dfm}.
Uses ActiveX, WbemScripting_TLB, Psapi, tlhelp32, DateUtils,.
ComObj;
// ————————————————————————;
// Π‘Π±ΠΎΡ ΠΈ Π²ΡΠ²ΠΎΠ΄ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΠΏΡΠΎΡΠ΅ΡΡΠΎΡΠ΅.
// ————————————————————————;
procedure TForm1. GetProcessorInfoOne (Var MyReg: TRegistry; num: String);
Begin.
Memo1.Lines.Append ('ΠΡΠΎΡΠ΅ΡΡΠΎΡ '+num+': ');
Memo1.Lines.Append (''+#9+'ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ: '+#9+MyReg.ReadString ('VendorIdentifier'));
Memo1.Lines.Append (''+#9+'ΡΠ΅ΠΌΠ΅ΠΉΡΡΠ²ΠΎ: '+#9+MyReg.ReadString ('Identifier'));
End;
Procedure TForm1. GetProcessorInfo;
var.
MyReg: TRegistry;
RegPath: string;
i:Integer;
q1,Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
kol, id: Integer;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-Π¦Π———');
MyReg:=TRegistry.Create;
MyReg.Rootkey:=HKEY_LOCAL_MACHINE;
RegPath:='HARDWAREDESCRIPTIONSystemCentralProcessor';
if MyReg. Openkey (RegPath, false) and (not MyReg. HasSubKeys).
Then GetProcessorInfoOne (MyReg,'').
Else.
Begin.
i:=0;
Repeat.
RegPath:='HARDWAREDESCRIPTIONSystemCentralProcessor'+IntToStr (i);
if not MyReg. Openkey (RegPath, false) then break;
GetProcessorInfoOne (MyReg, IntToStr (i));
i:=i+1;
if i>5 then break;
Until False;
End;
Memo1.Lines.Append ('');
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_Processor', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
end;
// ————————————————————————;
// Π‘Π±ΠΎΡ ΠΈ Π²ΡΠ²ΠΎΠ΄ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ BIOS.
// ————————————————————————;
//ΡΠ»Π΅Π΄ΡΡΡΠΈΠΉ ΠΌΠ΅ΡΠΎΠ΄ ΠΏΠΎΠ»ΡΡΠ°Π΅Ρ ΠΌΠ½ΠΎΠ³ΠΎΡΡΡΠΎΡΠ½ΡΠ΅ Π·Π½Π°ΡΠ΅Π½ΠΈΡ ΠΈΠ· ΡΠ΅Π΅ΡΡΡΠ°.
//ΠΈ ΠΏΡΠ΅ΠΎΠ±ΡΠ°Π·ΡΠ΅Ρ ΠΈΡ Π² TStringlist.
function ReadMultirowKey (reg: TRegistry; Key: string): TStrings;
const bufsize = 100;
var.
i: integer;
s1: string;
sl: TStringList;
bin: array[1.bufsize] of char;
begin.
try.
result:= nil;
sl:= nil;
sl:= TStringList. Create;
if not Assigned (reg) then.
raise Exception. Create ('TRegistry object not assigned.');
FillChar (bin, bufsize,#0);
reg.ReadBinaryData (Key, bin, bufsize);
i:= 1;
s1:= '';
while i < bufsize do.
begin.
if ord (bin[i]) >= 32 then.
s1:= s1 + bin[i].
else.
begin.
if Length (s1) > 0 then.
begin.
sl.Add (s1);
s1:= '';
end;
end;
inc (i);
end;
result:= sl;
except.
sl.Free;
raise;
end;
end;
procedure TForm1. GetBIOSInfo;
var.
RegPath: string;
MyReg: TRegistry;
MyList: TStrings;
i:Integer;
q1,Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
kol, id: Integer;
begin.
MyReg:=TRegistry.Create;
MyReg.Rootkey:=HKEY_LOCAL_MACHINE;
RegPath:='HARDWAREDESCRIPTIONSystem';
MyList:=nil;
try.
MyReg.Openkey (RegPath, false);
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-BIOS———');
Memo1.Lines.Append ('Π‘ΠΈΡΡΠ΅ΠΌΠ½Π°Ρ Π΄Π°ΡΠ° BIOS: '+MyReg.ReadString ('SystemBiosDate'));
MyList:=ReadMultirowKey (MyReg,'SystemBiosVersion');
Memo1.Lines.Append ('ΠΠ΅ΡΡΠΈΡ BIOS: '+MyList.Text);
except.
Memo1.Lines.Append ('ΠΡΠΈΠ±ΠΊΠ° Π΄ΠΎΡΡΡΠΏΠ° ΠΊ ΡΠΈΡΡΠ΅ΠΌΠ½ΠΎΠΌΡ ΡΠ΅Π΅ΡΡΡΡ! ΠΠ΅ ΠΌΠΎΠ³Ρ ΠΏΡΠΎΡΠΈΡΠ°ΡΡ Π΄Π°Π½Π½ΡΠ΅');
end;
MyReg.Free;
if Assigned (MyList) then MyList. Free;
Memo1.Lines.Append ('');
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_BIOS', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
end.
// ————————————————————————;
// Π‘Π±ΠΎΡ ΠΈ Π²ΡΠ²ΠΎΠ΄ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ HDD.
// ————————————————————————;
Procedure ToPAnsiChar (S:AnsiString; Var M: MAnsiChar);
Var i: Integer;
Begin.
if not (s='') Then Begin.
For i:=1 to Length (s) do M [i-1]: =s[i];
i:=Length (s);
if i>0 Then M[i]: =#0;
End.
else Begin.
M[0]: =#0;
End;
End;
Function GetPAnsiChar (S:AnsiString): MAnsiChar;
Var M: MAnsiChar;
Begin.
ToPAnsiChar (S, M);
Result:=M;
End;
procedure TForm1. GetLogicalHDD;
Var.
n:Integer;
dd:string;
dr:DWORD;
i:Integer;
GetVolumeInformationFlag:BOOL;
VolumeNameBuffer:MAnsiChar;
FileSystemNameBuffer:MAnsiChar;
VolumeSerialNumber: DWORD;
MaximumComponentLength:Cardinal;
mas:MAnsiChar;
FileSystemFlags:Cardinal;
d:INteger;
q1,Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
kol, id: Integer;
Begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-HDD———');
dr:= GetLogicalDrives ();
for i:=0 to 25 do.
Begin.
n:=dr mod 2;
if n=1 Then.
Begin.
dd:='';
dd:=dd+chr (65+i);
dd:=dd+':';
dd:=dd+'';
Memo1.Lines.Append ('ΠΠΎΡΡΡΠΏΠ½ΠΎ: '+dd);
ToPAnsiCHar (dd, mas);
d:= GetDriveType (mas);
if (d = DRIVE_UNKNOWN) Then Memo1.Lines.Append ('Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: Π½Π΅ ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎ');
if (d = DRIVE_NO_ROOT_DIR) Then Memo1.Lines.Append ('Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: DRIVE NO ROOT DIR');
if (d = DRIVE_REMOVABLE) Then Memo1.Lines.Append ('Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: ΡΠΌΠ΅Π½Π½ΡΠΉ');
if (d = DRIVE_FIXED) Then Memo1.Lines.Append ('Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: ΠΆΠ΅ΡΡΠΊΠΈΠΉ Π΄ΠΈΡΠΊ');
if (d = DRIVE_REMOTE) Then Memo1.Lines.Append ('Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: ΡΠ΄Π°Π»Π΅Π½Π½ΡΠΉ');
if (d = DRIVE_CDROM) Then Memo1.Lines.Append ('Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: CD-ROM');
if (d = DRIVE_RAMDISK) Then Memo1.Lines.Append ('Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: ΡΠ»ΡΡΠΊΠ°');
GetVolumeInformationFlag:=GetVolumeInformationA (.
mas,.
VolumeNameBuffer,.
100,.
Addr (VolumeSerialNumber),.
MaximumComponentLength,.
FileSystemFlags,.
FileSystemNameBuffer,.
);
if GetVolumeInformationFlag Then Begin.
Memo1.Lines.Append ('ΠΠ΅ΡΠΊΠ° ΡΠΎΠΌΠ°: ' + VolumeNameBuffer);
Memo1.Lines.Append ('Π‘Π΅ΡΠΈΠΉΠ½ΡΠΉ Π½ΠΎΠΌΠ΅Ρ: '+ IntToStr (VolumeSerialNumber));
Memo1.Lines.Append ('Π€Π°ΠΉΠ»ΠΎΠ²Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ°: ' + FileSystemNameBuffer);
Memo1.Lines.Append ('');
End.
else Memo1.Lines.Append ('Π½Π΅ ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎ');
End;
dr:=dr div 2;
End;
Memo1.Lines.Append ('');
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_DiskDrive', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
End;
// ————————————————————————;
// Π‘Π±ΠΎΡ ΠΈ Π²ΡΠ²ΠΎΠ΄ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΠΊΠ»Π°Π²ΠΈΠ°ΡΡΡΠ΅.
// ————————————————————————;
function GetKeyboardCount: integer;
var.
FSWbemLocator: OLEVariant;
FWMIService: OLEVariant;
FWbemObjectSet: OLEVariant;
FWbemObject: OLEVariant;
oEnum: IEnumvariant;
iValue: LongWord;
begin;
Result:=0;
FSWbemLocator:= CreateOleObject ('WbemScripting.SWbemLocator');
FWMIService := FSWbemLocator. ConnectServer ('localhost', 'rootCIMV2', '', '');
FWbemObjectSet:= FWMIService. ExecQuery ('SELECT DeviceID FROM Win32_Keyboard','WQL', $ 20);
oEnum := IUnknown (FWbemObjectSet._NewEnum) as IEnumVariant;
while oEnum. Next (1, FWbemObject, iValue) = 0 do.
begin.
Inc (Result);
FWbemObject:=Unassigned;
end;
end;
procedure TForm1. GetKeyboard;
var q1, Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
i:Integer;
kol, id: Integer;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-ΠΠ»Π°Π²ΠΈΠ°ΡΡΡΠ°———');
try.
CoInitialize (nil);
try.
Memo1.Lines.Append (Format ('Keyboards %d', [GetKeyboardCount]));
finally.
CoUninitialize;
end;
except.
on E: EOleException do.
Memo1.Lines.Append (Format ('EOleException %s %x', [E.Message, E. ErrorCode]));
on E: Exception do.
Memo1.Lines.Append (E.Classname+':'+E.Message);
end;
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_Keyboard', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
End;
// ————————————————————————;
// Π‘Π±ΠΎΡ ΠΈ Π²ΡΠ²ΠΎΠ΄ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΠΌΠ°ΡΠ΅ΡΠΈΠ½ΡΠΊΠΎΠΉ ΠΏΠ»Π°ΡΠ΅.
// ————————————————————————-;
procedure TForm1. GetMotherBoard;
var q1, Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
i:Integer;
kol, id: Integer;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-Π ΠΌΠ°ΡΠ΅ΡΠΈΠ½ΡΠΊΠΎΠΉ ΠΏΠ»Π°ΡΠ΅———');
//LVProp.Items.Clear;
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_BaseBoard', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
end;
procedure TForm1. GetMouse;
var q1, Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
i:Integer;
kol, id: Integer;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-Π ΠΌΡΡΠΊΠ΅———');
//LVProp.Items.Clear;
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_PointingDevice', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
end;
procedure TForm1. GetMonitor;
var q1, Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
i:Integer;
kol, id: Integer;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-Π ΠΌΠΎΠ½ΠΈΡΠΎΡΠ΅———');
//LVProp.Items.Clear;
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_DesktopMonitor', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
end;
procedure TForm1. GetNet;
var q1, Boards, q3, tt:variant;
Service: ISWbemServices;
ObjectSet: ISWbemObjectSet;
SObject: ISWbemObject;
PropSet: ISWbemPropertySet;
SProp: ISWbemProperty;
PropEnum, Enum: IEnumVariant;
TempObj, PropVal: OleVariant;
Value: Cardinal;
LI: TListItem;
vt: TVarType;
SWbemLocator:TSWbemLocator;
s:String;
i:Integer;
kol, id: Integer;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-Π ΡΠ΅ΡΠ΅Π²ΡΡ Π°Π΄Π°ΠΏΡΠ΅ΡΠ°Ρ ———');
//LVProp.Items.Clear;
SWbemLocator:= TSWbemLocator. Create (Nil);
try.
SWbemLocator:= TSWbemLocator. Create (Self);
Service:= SWbemLocator. ConnectServer ('.', 'rootCIMV2', '', '', '', '', 0, nil);
SObject:= Service. Get ('Win32_NetworkAdapter', wbemFlagUseAmendedQualifiers, nil);
ObjectSet:= SObject. Instances_(0, nil);
Enum:= (ObjectSet._NewEnum) as IEnumVariant;
Enum.Next (1, TempObj, Value);
SObject:= IUnknown (TempObj) as SWBemObject;
PropSet:= SObject. Properties_;
PropEnum:= (PropSet._NewEnum) as IEnumVariant;
while (PropEnum.Next (1, TempObj, Value) = S_OK) do.
begin.
SProp:= IUnknown (TempObj) as SWBemProperty;
//LI:= LVProp.Items.Add;
s:=SProp.Name+': ';
if not SProp. IsArray then begin.
PropVal:= SProp. Get_Value;
s:=s+VarToStr (PropVal);
end.
else begin.
SProp.GetTypeInfoCount (kol);
for i:=1 to kol do.
Begin.
SProp.GetTypeInfo (i, id, tt);
s:=s+VartoStr (id)+': '+VarToStr (tt);
end;
end;
memo1.Lines.Append (s);
end;
finally.
SWbemLocator.Free;
end;
end;
// ———————————————————————-;
// —————————— Π Π·Π°ΠΏΡΡΠ΅Π½Π½ΡΡ ΠΏΡΠΎΡΠ΅ΡΡΠ°Ρ .
// ———————————————————————-;
procedure CreateWin9xProcessList (List: TstringList);
var.
hSnapShot: THandle;
ProcInfo: TProcessEntry32;
begin.
if List = nil then Exit;
hSnapShot:= CreateToolHelp32Snapshot (TH32CS_SNAPPROCESS, 0);
if (hSnapShot THandle (-1)) then.
begin.
ProcInfo.dwSize:= SizeOf (ProcInfo);
if (Process32First (hSnapshot, ProcInfo)) then.
begin.
List.Add (ProcInfo.szExeFile);
while (Process32Next (hSnapShot, ProcInfo)) do.
List.Add (ProcInfo.szExeFile);
end;
CloseHandle (hSnapShot);
end;
end;
procedure CreateWinNTProcessList (List: TstringList);
var.
PIDArray: array [0.1023] of DWORD;
cb: DWORD;
I: Integer;
ProcCount: Integer;
hMod: HMODULE;
hProcess: THandle;
ModuleName: array [0.300] of Char;
begin.
if List = nil then Exit;
EnumProcesses (@PIDArray, SizeOf (PIDArray), cb);
ProcCount:= cb div SizeOf (DWORD);
for I:= 0 to ProcCount — 1 do.
begin.
hProcess:= OpenProcess (PROCESS_QUERY_INFORMATION or.
PROCESS_VM_READ,.
False,.
PIDArray[I]);
if (hProcess 0) then.
begin.
EnumProcessModules (hProcess, @hMod, SizeOf (hMod), cb);
GetModuleFilenameEx (hProcess, hMod, ModuleName, SizeOf (ModuleName));
List.Add (ModuleName);
CloseHandle (hProcess);
end;
end;
end;
procedure GetProcessList (var List: TstringList);
var.
ovi: TOSVersionInfo;
begin.
if List = nil then Exit;
ovi.dwOSVersionInfoSize:= SizeOf (TOSVersionInfo);
GetVersionEx (ovi);
case ovi. dwPlatformId of.
VER_PLATFORM_WIN32_WINDOWS: CreateWin9xProcessList (List);
VER_PLATFORM_WIN32_NT: CreateWinNTProcessList (List);
end.
end;
procedure TForm1. GetProc;
var.
i: Integer;
MyProcList: TstringList;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-Π Π·Π°ΠΏΡΡΠ΅Π½Π½ΡΡ ΠΏΡΠΎΡΡΠ°Ρ ———');
MyProcList:= TStringList. Create;
try.
GetProcessList (MyProcList);
if MyProcList = nil then Exit;
for i:= 1 to MyProcList. Count — 1 do.
Memo1.Lines.Append (MyProcList.Strings[i]);
finally.
MyProcList.Free;
end;
end;
// ————————- ΠΡΠ΅ΠΌΡ ΡΠ°Π±ΠΎΡΡ ΡΠΈΡΡΠ΅ΠΌΡ.
// ——————————————————————;
type.
SYSTEM_TIME_OF_DAY_INFORMATION = record.
BootTime: LARGE_INTEGER;
CurrentTime: LARGE_INTEGER;
TimeZoneBias: LARGE_INTEGER;
CurrentTimeZoneId: ULONG;
end;
PSYSTEM_TIME_OF_DAY_INFORMATION = ^SYSTEM_TIME_OF_DAY_INFORMATION;
NTSTATUS = DWORD;
const.
SystemTimeOfDayInformation =3;
function NtQuerySystemInformation (SystemInformationClass:byte;
SystemInformation: Pointer;
SystemInformationLength: ULONG;
ReturnLength: PULONG): NTSTATUS; stdcall; external 'NTDLL.DLL';
function SysDateToStr (ST: TSystemTime): string;
const.
sDateFmt = 'dddd, d MMMM, yyyy';
begin.
SetLength (Result, 255);
GetDateFormat (LOCALE_USER_DEFAULT, 0, @ST, sDateFmt, @result[1], 255);
SetLength (Result, LStrLen (@result[1]));
end;
function SysTimeToStr (ST: TSystemTime):string;
const.
sTimeFmt = 'HH:mm:ss' ;
begin.
SetLength (result, 15);
GetTimeFormat (LOCALE_USER_DEFAULT, 0,@st, sTimeFmt,@result[1], 15);
SetLength (result, StrLen (@result[1]));
end;
function GetFileTimeToSystemTime (ft:TFileTime):string;
var.
st, lt: TSystemTime;
tz:TTimezoneInformation;
begin.
Result:='';
if not FileTimeToSystemTime (ft, st) then exit;
GetTimeZoneInformation (tz);
SystemTimeToTzSpecificLocalTime (@tz, st, lt);
Result:=SysDateToStr (lt)+' Π² ' + SysTimeToStr (lt);
end;
// Π΄Π°ΡΠ°/Π²ΡΠ΅ΠΌΡ ΠΏΠΎΡΠ»Π΅Π΄Π½Π΅Π³ΠΎ Π²ΡΠΊΠ»ΡΡΠ΅Π½ΠΈΡ (ΠΈΠ»ΠΈ ΠΏΠ΅ΡΠ΅Π·Π°Π³ΡΡΠ·ΠΊΠΈ) ΡΠΈΡΡΠ΅ΠΌΡ.
function GetLastSystemShutdown: string;
var.
ft:TFileTime;
reg:TRegistry;
begin.
Result:='';
reg:=TRegistry.Create;
try.
reg.RootKey:=HKEY_LOCAL_MACHINE;
if (not reg. OpenKeyReadOnly ('SystemCurrentControlSetControlWindows')) then exit;
if (reg.ReadBinaryData ('ShutdownTime', ft, sizeof (ft))=0) then exit.
finally.
reg.Free.
end;
Result:= GetFileTimeToSystemTime (ft).
end;
// Π΄Π°ΡΠ°/Π²ΡΠ΅ΠΌΡ ΡΡΠ°ΡΡΠ° ΡΠΈΡΡΠ΅ΠΌΡ.
function NtGetBootDateTime: string;
var.
sti: SYSTEM_TIME_OF_DAY_INFORMATION;
status: NTSTATUS;
ftSystemBoot: FILETIME;
ST:TSystemTime;
begin.
Result:='';
status:=NtQuerySystemInformation (SystemTimeOfDayInformation, @sti,.
sizeof (SYSTEM_TIME_OF_DAY_INFORMATION), nil);
if (statusNO_ERROR) then exit;
ftSystemBoot:= PFILETIME (@(sti.BootTime))^;
if FileTimeToLocalFileTime (ftSystemBoot, ftSystemBoot) then.
if FileTimeToSystemTime (ftSystemBoot, ST) then.
Result:=SysDateToStr (ST)+' Π² '+SysTimeToStr (ST).
end;
procedure TForm1. GetTimeSys;
begin.
Memo1.Lines.Append ('');
Memo1.Lines.Append ('——-ΠΡΠ΅ΠΌΡ ΡΠ°Π±ΠΎΡΡ ΡΠΈΡΡΠ΅ΠΌΡ———');
Memo1.Lines.Append ('ΠΠ°ΠΏΡΡΠΊ ΡΠΈΡΡΠ΅ΠΌΡ: '+NtGetBootDateTime);
Memo1.Lines.Append ('ΠΠ°ΠΊΡΡΡΠΈΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ: '+GetLastSystemShutdown);
end;
// ——— ΠΎ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΡΡ ——————————;
// ———————————————-;
// ΠΠ΅ΡΠ΅Π²ΠΎΠ΄ ΠΈΠ· ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΠΎΠΉ ΡΡΡΠΎΠΊΠΈ Delphi Π² Unicode-ΡΡΡΠΎΠΊΡ Π΄Π»Ρ WinAPI.
function Str2Wide (lpStr: String):PWideChar;
var.
dwStrlen: Cardinal;
begin.
dwStrLen:= lstrlen (PChar (lpStr));
GetMem (Result,(dwStrLen+1)*2);
StringToWideChar (lpStr, Result, dwStrLen+1);
end;
function SpecDWORDToDateTime (AData: DWORD): TDateTime;
function DWORDPartToInt (ADWORD, AMask: DWORD; AShift: Integer): Integer;
begin.
Result:= (ADWORD Or AMask) Shr AShift;
end.
const.
cH = $F800; // 0.1111100000000000.
cMm = $ 7E0; // 0.0000011111100000.
cS = $FE000000; // 1 111 111 000 000 000.0000000000000000.
cM = $ 1E00000; // 111 100 000.0000000000000000.
cD = $ 1F0000; // 11 111.0000000000000000.
var.
D, M, H, Mm, S: Integer;
begin.
D:= DWORDPartToInt (AData, cD, 16);
M:= DWORDPartToInt (AData, cM, 21);
H:= DWORDPartToInt (AData, cH, 11);
MM:= DWORDPartToInt (AData, cMm, 5);
S:= DWORDPartToInt (AData, cS, 25);
Result:= EncodeDateTime (2015,M, D, H, Mm, S,0);
// 2009 — Year.
// 0 — mSeconds.
end;
const.
// Sets UnixStartDate to TDateTime of 01/01/1970.
UnixStartDate: TDateTime = 25 569.0;
function DateTimeToUnix (ConvDate: TDateTime): Longint;
begin.
//example: DateTimeToUnix (now);
Result:= Round ((ConvDate — UnixStartDate) * 86 400);
end;
function UnixToDateTime (USec: Longint): TDateTime;
begin.
//Example: UnixToDateTime (1 003 187 418);
Result:= (Usec / 86 400) + UnixStartDate;
end;
procedure TForm1. GetLocalUserList;
const.
NERR_SUCCESS = 0;
FILTER_TEMP_DUPLICATE_ACCOUNT = $ 0001;
FILTER_NORMAL_ACCOUNT = $ 0002;
FILTER_PROXY_ACCOUNT = $ 0004;
FILTER_INTERDOMAIN_TRUST_ACCOUNT = $ 0008;
FILTER_WORKSTATION_TRUST_ACCOUNT = $ 0010;
FILTER_SERVER_TRUST_ACCOUNT = $ 0020;
type.
TUSER_INFO10 = record.
usri10_name,.
usri10_comment,.
usri10_usr_comment,.
usri10_full_name: PWideChar;
end;
PUSER_INFO10 = ^TUSER_INFO10;
_USER_INFO2 = record.
usri2_name,.
usri2_password: LPWSTR;
usri2_password_age, usri2_priv: DWORD;
usri2_home_dir,.
usri2_comment: LPWSTR;
usri2_flags:DWORD;
usri2_script_path: LPWSTR;
usri2_auth_flags:DWORD;
usri2_full_name,.
usri2_usr_comment,.
usri2_parms,.
usri2_workstations: LPWSTR;
usri2_last_logon,.
usri2_last_logoff,.
usri2_acct_expires,.
usri2_max_storage,.
usri2_units_per_week: DWORD;
usri2_logon_hours: PBYTE;
usri2_bad_pw_count,.
usri2_num_logons: DWORD;
usri2_logon_server: LPWSTR;
usri2_country_code,.
usri2_code_page: DWORD;
End;
var.
tm: TDateTime;
time: _FILETIME;
fTime: SYSTEMTIME;
USER_INFO2: _USER_INFO2;
PUSER_INFO2: ^ _USER_INFO2;
LPUSER_INFO2: ^_USER_INFO2;
dt1,dt2:TDateTime;
s:String;
dwERead, dwETotal, dwRes, res: DWORD;
inf: PUSER_INFO10;
info: Pointer;
p: PChar;
i: Integer;
UserInfo: ^_USER_INFO2;
lpwUser: PWideChar;
lpwSrv: PWideChar;
begin.
UserInfo:=Addr (USER_INFO2);
memo1.lines.append ('');
memo1.lines.append ('——-Π‘ΠΏΠΈΡΠΎΠΊ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ———————');
info:= nil;
dwRes:= 0;
res:= NetUserEnum (nil,.
10,.
FILTER_NORMAL_ACCOUNT,.
@info,.
65 536,.
@dwERead,.
@dwETotal,.
@dwRes);
if (res NERR_SUCCESS) or (info = nil) then.
Exit;
p:= PChar (info);
for i:= 0 to dwERead — 1 do.
begin.
inf:= PUSER_INFO10(p + i * SizeOf (TUSER_INFO10));
Memo1.Lines.Append (WideCharToString (inf^.usri10_name));
Memo1.Lines.Append (WideCharToString (inf^.usri10_comment));
//Memo1.Lines.Append (WideCharToString (inf^.usri10_usr_comment));
//Memo1.Lines.Append (WideCharToString (inf^.usri10_full_name));
lpwSrv := Str2Wide ('');
lpwUser:= inf^.usri10_name;
NetUserGetInfo (lpwSrv, lpwUser, 2, Pointer (UserInfo));
//usri2_last_logon ΠΈ usri2_last_logoff — Π²ΡΠ΅ΠΌΡ ΠΏΠΎΡΠ»Π΅Π΄Π½Π΅Π³ΠΎ Π²Ρ ΠΎΠ΄Π° ΠΈ Π²ΡΡ ΠΎΠ΄Π° ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Ρ ®.
(*.
usri2_last_logon.
Type: DWORD.
The date and time when the last logon occurred. This value is stored as the number.
of seconds that have elapsed since 00:00:00, January 1, 1970, GMT. This member.
is ignored by the NetUserAdd and NetUserSetInfo functions.
This member is maintained separately on each backup domain controller (BDC).
in the domain. To obtain an accurate value, you must query each BDC in the.
domain. The last logon occurred at the time indicated by the largest retrieved value.
usri2_last_logoff.
Type: DWORD.
This member is currently not used.
Indicates when the last logoff occurred. This value is stored as the number of.
seconds that have elapsed since 00:00:00, January 1, 1970, GMT. A value of zero.
indicates that the last logoff time is unknown.
This member is maintained separately on each backup domain controller (BDC) in.
the domain. To obtain an accurate value, you must query each BDC in the domain.
The last logoff occurred at the time indicated by the largest retrieved value.
*).
dt1:= UnixToDateTime (UserInfo^.usri2_last_logon);
dt2:= UnixToDateTime (UserInfo^.usri2_last_logoff);
s:='';
if UserInfo^.usri2_last_logon0.
then s:=s+'ΠΡ ΠΎΠ΄: '+DateTimeToStr (dt1)+'. '.
else s:=s+'ΠΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½. ';
if UserInfo^.usri2_last_logoff0.
Then s:=s+'ΠΡΡ ΠΎΠ΄: '+DateTimeToStr (dt2)+'. '.
else s:=s+'ΠΡΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½. ';
memo1.Lines.Add (s);
Memo1.Lines.Add ('');
end;
NetApiBufferFree (info);
end;
procedure TForm1. BInfoClick (Sender: TObject);
begin.
Memo1.Lines.Clear;
GetProcessorInfo;
GetBIOSInfo;
GetLogicalHDD;
GetKeyboard;
GetMotherBoard;
GetMouse;
GetMonitor;
GetNet;
GetProc;
GetTimeSys;
GetLocalUserList;
end;
procedure TForm1. BSendClick (Sender: TObject);
Var.
FName:String; // ΠΠΌΡ ΡΠ°ΠΉΠ»Π° Π΄Π»Ρ Π·Π°ΠΏΠΈΡΠΈ Π½Π° ftp-ΡΠ΅ΡΠ²Π΅Ρ
FPath:String; // ΠΠΌΡ Π²ΡΠ΅ΠΌΠ΅Π½Π½ΠΎΠ³ΠΎ ΡΠ°ΠΉΠ»Π° Π½Π° ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ΅ Ρ ΠΏΠΎΠ»Π½ΡΠΌ ΠΏΡΡΡΠΌ.
begin.
// Π€ΠΎΡΠΌΠΈΡΠΎΠ²Π°Π½ΠΈΠ΅ ΠΈΠΌΠ΅Π½ΠΈ ΡΠ°ΠΉΠ»Π°.
FName:=DateTimeToStr (Now);
FName:= StringReplace (FName, ' ', '_',[rfReplaceAll, rfIgnoreCase]);
FName:= StringReplace (FName, '.', '_',[rfReplaceAll, rfIgnoreCase]);
FName:= StringReplace (FName, ':', '_',[rfReplaceAll, rfIgnoreCase])+'.txt';
FPath:=ExtractFilePath (Application.ExeName)+FName;
// Π‘ΠΎΠ·Π΄Π°Π΅ΠΌ ΡΠ°ΠΉΠ» Π½Π° Π΄ΠΈΡΠΊΠ΅ Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠ³ΠΎ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ΅.
Memo1.Lines.SaveToFile (FPath);
// ΠΠ°ΠΏΠΈΡΡΠ²Π°Π΅ΠΌ Π½Π° ftp-ΡΠ΅ΡΠ²Π΅Ρ
stat.SimpleText:='ΠΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΊ ΡΠ΅ΡΠ²Π΅ΡΡ: ';
idFTP1.Host:=Trim (EditIP.Text); // ip-Π°Π΄ΡΠ΅Ρ ΡΠ΅ΡΠ²Π΅ΡΠ°.
idFTP1.Port:=StrToInt (EditPort.Text); // ΠΏΠΎΡΡ ftp ΡΠ΅ΡΠ²Π΅ΡΠ°.
idFTP1.Username:=EditLog.Text; // Π»ΠΎΠ³ΠΈΠ½.
idFTP1.Password:=EditPas.Text; //ΠΏΠ°ΡΠΎΠ»Ρ.
idFTP1.Connect;
stat.SimpleText:='ΠΡΠΏΡΠ°Π²ΠΊΠ° ΡΠ°ΠΉΠ»Π°: '+FName;
idFTP1.ChangeDir (Trim (EditDir.Text));
idFTP1.Put (FPath, FName);
idFTP1.Disconnect;
stat.SimpleText:='ΠΡΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΎΡ ΡΠ΅ΡΠ²Π΅ΡΠ°: '+Trim (EditIP.Text);
stat.SimpleText:='ΠΠΎΡΠΎΠ²ΠΎ!'.
end;
end.
ΠΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π ΠΠΈΡΡΠΈΠ½Π³ ΡΠΎΠ±ΡΠ°Π½Π½ΠΎΠΉ ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΠΈ ΠΎ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ΅.
——-Π¦Π——-;
ΠΡΠΎΡΠ΅ΡΡΠΎΡ 0:
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ: GenuineIntel.
ΡΠ΅ΠΌΠ΅ΠΉΡΡΠ²ΠΎ: x86 Family 6 Model 15 Stepping 11.
ΠΡΠΎΡΠ΅ΡΡΠΎΡ 1:
ΠΏΡΠΎΠΈΠ·Π²ΠΎΠ΄ΠΈΡΠ΅Π»Ρ: GenuineIntel.
ΡΠ΅ΠΌΠ΅ΠΉΡΡΠ²ΠΎ: x86 Family 6 Model 15 Stepping 11.
AddressWidth: 32.
Architecture: 0.
Availability: 3.
Caption: x86 Family 6 Model 15 Stepping 11.
ConfigManagerErrorCode:
ConfigManagerUserConfig:
CpuStatus: 1.
CreationClassName: Win32_Processor.
CurrentClockSpeed: 2194.
CurrentVoltage: 13.
DataWidth: 32.
Description: x86 Family 6 Model 15 Stepping 11.
DeviceID: CPU0.
ErrorCleared:
ErrorDescription:
ExtClock: 200.
Family: 2.
InstallDate:
L2CacheSize: 4096.
L2CacheSpeed:
LastErrorCode:
Level: 6.
LoadPercentage: 7.
Manufacturer: GenuineIntel.
MaxClockSpeed: 2194.
Name: Intel® Core™2 Duo CPU T7500 @ 2.20GHz.
NumberOfCores: 2.
NumberOfLogicalProcessors: 2.
OtherFamilyDescription:
PNPDeviceID:
PowerManagementCapabilities: 1 243 048:
PowerManagementSupported: False.
ProcessorId: 06FB.
ProcessorType: 3.
Revision: 3851.
Role: CPU.
SocketDesignation: uFC-PGA Socket.
Status: OK.
StatusInfo: 3.
Stepping: 11.
SystemCreationClassName: Win32_ComputerSystem.
SystemName: MICROSOF-5599EF.
UniqueId:
UpgradeMethod: 1.
Version: ΠΠΎΠ΄Π΅Π»Ρ 15, ΠΡΠΏΡΡΠΊ 11.
VoltageCaps:
——-BIOS——-;
Π‘ΠΈΡΡΠ΅ΠΌΠ½Π°Ρ Π΄Π°ΡΠ° BIOS: 03/06/08.
ΠΠ΅ΡΡΠΈΡ BIOS: TOSHIB — 20 070 816.
v2.10.
BiosCharacteristics: 0:
BIOSVersion: 0:
BuildNumber:
Caption: v2.10.
CodeSet:
CurrentLanguage:
Description: v2.10.
IdentificationCode:
InstallableLanguages:
InstallDate:
LanguageEdition:
ListOfLanguages: 0:
Manufacturer: TOSHIBA.
Name: v2.10.
OtherTargetOS:
PrimaryBIOS: True.
ReleaseDate: 20 080 306 000 000.000000+000.
SerialNumber: X7022819H.
SMBIOSBIOSVersion: Version 2.10.
SMBIOSMajorVersion: 2.
SMBIOSMinorVersion: 4.
SMBIOSPresent: True.
SoftwareElementID: v2.10.
SoftwareElementState: 3.
Status: OK.
TargetOperatingSystem: 0.
Version: TOSHIB — 20 070 816.
——-HDD——-;
ΠΠΎΡΡΡΠΏΠ½ΠΎ: C:
Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: ΠΆΠ΅ΡΡΠΊΠΈΠΉ Π΄ΠΈΡΠΊ ΠΠ΅ΡΠΊΠ° ΡΠΎΠΌΠ°:
Π‘Π΅ΡΠΈΠΉΠ½ΡΠΉ Π½ΠΎΠΌΠ΅Ρ: 875 222 072.
Π€Π°ΠΉΠ»ΠΎΠ²Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ°: NTFS.
ΠΠΎΡΡΡΠΏΠ½ΠΎ: D:
Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: ΠΆΠ΅ΡΡΠΊΠΈΠΉ Π΄ΠΈΡΠΊ ΠΠ΅ΡΠΊΠ° ΡΠΎΠΌΠ°: Π Π°Π±ΠΎΡΠΈΠΉ Π‘Π΅ΡΠΈΠΉΠ½ΡΠΉ Π½ΠΎΠΌΠ΅Ρ: 752 201 973.
Π€Π°ΠΉΠ»ΠΎΠ²Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ°: NTFS.
ΠΠΎΡΡΡΠΏΠ½ΠΎ: E:
Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: ΠΆΠ΅ΡΡΠΊΠΈΠΉ Π΄ΠΈΡΠΊ ΠΠ΅ΡΠΊΠ° ΡΠΎΠΌΠ°: ΠΠ΅Π΄ΠΈΠ° Π‘Π΅ΡΠΈΠΉΠ½ΡΠΉ Π½ΠΎΠΌΠ΅Ρ: 1 546 234 612.
Π€Π°ΠΉΠ»ΠΎΠ²Π°Ρ ΡΠΈΡΡΠ΅ΠΌΠ°: NTFS.
ΠΠΎΡΡΡΠΏΠ½ΠΎ: F:
Π’ΠΈΠΏ ΡΡΡΡΠΎΠΉΡΡΠ²Π°: CD-ROM.
Π½Π΅ ΠΈΠ·Π²Π΅ΡΡΠ½ΠΎ.
Availability:
BytesPerSector: 512.
Capabilities: 0:
CapabilityDescriptions: 0:
Caption: TOSHIBA MK8037GSX.
CompressionMethod:
ConfigManagerErrorCode: 0.
ConfigManagerUserConfig: False.
CreationClassName: Win32_DiskDrive.
DefaultBlockSize:
Description: ΠΠΈΡΠΊΠΎΠ²ΡΠΉ Π½Π°ΠΊΠΎΠΏΠΈΡΠ΅Π»Ρ.
DeviceID: .PHYSICALDRIVE0.
ErrorCleared:
ErrorDescription:
ErrorMethodology:
Index: 0.
InstallDate:
InterfaceType: IDE.
LastErrorCode:
Manufacturer: (Π‘ΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠ΅ Π΄ΠΈΡΠΊΠΎΠ²ΡΠ΅ Π½Π°ΠΊΠΎΠΏΠΈΡΠ΅Π»ΠΈ).
MaxBlockSize:
MaxMediaSize:
MediaLoaded: True.
MediaType: Fixedhard disk media.
MinBlockSize:
Model: TOSHIBA MK8037GSX.
Name: .PHYSICALDRIVE0.
NeedsCleaning:
NumberOfMediaSupported:
Partitions: 3.
PNPDeviceID: IDEDISKTOSHIBA_MK8037GSX_______________________DL230M__5&2F5A5D51&0&0.0.0.
PowerManagementCapabilities: 0:
PowerManagementSupported:
SCSIBus: 0.
SCSILogicalUnit: 0.
SCSIPort: 0.
SCSITargetId: 0.
SectorsPerTrack: 63.
Signature: 1 757 294 337.
Size: 80 023 749 120.
Status: OK.
StatusInfo:
SystemCreationClassName: Win32_ComputerSystem.
SystemName: MICROSOF-5599EF.
TotalCylinders: 9729.
TotalHeads: 255.
TotalSectors: 156 296 385.
TotalTracks: 2 480 895.
TracksPerCylinder: 255.
——-ΠΠ»Π°Π²ΠΈΠ°ΡΡΡΠ°——-;
Keyboards 1.
Availability:
Caption: Π Π°ΡΡΠΈΡΠ΅Π½Π½Π°Ρ ΠΊΠ»Π°Π²ΠΈΠ°ΡΡΡΠ° (101 ΠΈΠ»ΠΈ 102 ΠΊΠ»Π°Π²ΠΈΡΠΈ).
ConfigManagerErrorCode: 0.
ConfigManagerUserConfig: False.
CreationClassName: Win32_Keyboard.
Description: Π‘ΡΠ°Π½Π΄Π°ΡΡΠ½Π°Ρ (101/102 ΠΊΠ»Π°Π²ΠΈΡΠΈ) ΠΈΠ»ΠΈ ΠΊΠ»Π°Π²ΠΈΠ°ΡΡΡΠ° PS/2 Microsoft Natural.
DeviceID: ACPIPNP03034&2FFE84EA&0.
ErrorCleared:
ErrorDescription:
InstallDate:
IsLocked:
LastErrorCode:
Layout: 419.
Name: Π Π°ΡΡΠΈΡΠ΅Π½Π½Π°Ρ ΠΊΠ»Π°Π²ΠΈΠ°ΡΡΡΠ° (101 ΠΈΠ»ΠΈ 102 ΠΊΠ»Π°Π²ΠΈΡΠΈ).
NumberOfFunctionKeys: 12.
Password:
PNPDeviceID: ACPIPNP03034&2FFE84EA&0.
PowerManagementCapabilities: 0:
PowerManagementSupported: False.
Status: OK.
StatusInfo:
SystemCreationClassName: Win32_ComputerSystem.
SystemName: MICROSOF-5599EF.
——-Π ΠΌΠ°ΡΠ΅ΡΠΈΠ½ΡΠΊΠΎΠΉ ΠΏΠ»Π°ΡΠ΅——-;
Caption: ΠΡΠ½ΠΎΠ²Π½Π°Ρ ΠΏΠ»Π°ΡΠ°.
ConfigOptions: 1 243 048:
CreationClassName: Win32_BaseBoard.
Depth:
Description: ΠΡΠ½ΠΎΠ²Π½Π°Ρ ΠΏΠ»Π°ΡΠ°.
Height:
HostingBoard: True.
HotSwappable:
InstallDate:
Manufacturer: TOSHIBA.
Model:
Name: ΠΡΠ½ΠΎΠ²Π½Π°Ρ ΠΏΠ»Π°ΡΠ°.
OtherIdentifyingInfo:
PartNumber:
PoweredOn: True.
Product: Portable PC.
Removable:
Replaceable:
RequirementsDescription:
RequiresDaughterBoard:
SerialNumber: $$C07X80GP.
SKU:
SlotLayout:
SpecialRequirements:
Status:
Tag: Base Board.
Version: Version A0.
Weight:
Width:
——-Π ΠΌΡΡΠΊΠ΅——-;
Availability:
Caption: USB HID-ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΠ΅ ΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ.
ConfigManagerErrorCode: 0.
ConfigManagerUserConfig: False.
CreationClassName: Win32_PointingDevice.
Description: USB HID-ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΠ΅ ΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ.
DeviceID: USBVID_0458&PID_003A5&30A64690&0&1.
DeviceInterface: 162.
DoubleSpeedThreshold: 6.
ErrorCleared:
ErrorDescription:
Handedness: 2.
HardwareType: USB HID-ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΠ΅ ΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ.
InfFileName: input.inf.
InfSection: HID_Inst.
InstallDate:
IsLocked:
LastErrorCode:
Manufacturer: (ΡΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠ΅ ΡΠΈΡΡΠ΅ΠΌΠ½ΡΠ΅ ΡΡΡΡΠΎΠΉΡΡΠ²Π°).
Name: USB HID-ΡΠΎΠ²ΠΌΠ΅ΡΡΠΈΠΌΠΎΠ΅ ΡΡΡΡΠΎΠΉΡΡΠ²ΠΎ.
NumberOfButtons: 3.
PNPDeviceID: USBVID_0458&PID_003A5&30A64690&0&1.
PointingType: 2.
PowerManagementCapabilities: 1 243 048:
PowerManagementSupported: False.
QuadSpeedThreshold: 10.
Resolution:
SampleRate:
Status: OK.
StatusInfo:
Synch:
SystemCreationClassName: Win32_ComputerSystem.
SystemName: MICROSOF-5599EF.
——-Π ΠΌΠΎΠ½ΠΈΡΠΎΡΠ΅——-;
Availability: 3.
Bandwidth:
Caption: ΠΠΎΠ΄ΡΠ»Ρ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΡ ΠΌΠΎΠ½ΠΈΡΠΎΡΠ°.
ConfigManagerErrorCode: 0.
ConfigManagerUserConfig: False.
CreationClassName: Win32_DesktopMonitor.
Description: ΠΠΎΠ΄ΡΠ»Ρ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΡ ΠΌΠΎΠ½ΠΈΡΠΎΡΠ°.
DeviceID: DesktopMonitor1.
DisplayType:
ErrorCleared:
ErrorDescription:
InstallDate:
IsLocked:
LastErrorCode:
MonitorManufacturer: (Π‘ΡΠ°Π½Π΄Π°ΡΡΠ½ΡΠ΅ ΠΌΠΎΠ½ΠΈΡΠΎΡΡ).
MonitorType: ΠΠΎΠ΄ΡΠ»Ρ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΡ ΠΌΠΎΠ½ΠΈΡΠΎΡΠ°.
Name: ΠΠΎΠ΄ΡΠ»Ρ ΠΏΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΡ ΠΌΠΎΠ½ΠΈΡΠΎΡΠ°.
PixelsPerXLogicalInch: 96.
PixelsPerYLogicalInch: 96.
PNPDeviceID: DISPLAYTOS508A4&1657F16D&0&410&00&02.
PowerManagementCapabilities: 1 243 048:
PowerManagementSupported:
ScreenHeight: 800.
ScreenWidth: 1280.
Status: OK.
StatusInfo:
SystemCreationClassName: Win32_ComputerSystem.
SystemName: MICROSOF-5599EF.
——-Π ΡΠ΅ΡΠ΅Π²ΡΡ Π°Π΄Π°ΠΏΡΠ΅ΡΠ°Ρ ——-;
AdapterType: Ethernet 802.3.
AdapterTypeId: 0.
AutoSense:
Availability: 3.
Caption: [1] Intel® 82566MC Gigabit Network Connection.
ConfigManagerErrorCode: 0.
ConfigManagerUserConfig: False.
CreationClassName: Win32_NetworkAdapter.
Description: Intel® 82566MC Gigabit Network Connection.
DeviceID: 1.
ErrorCleared:
ErrorDescription:
Index: 1.
InstallDate:
Installed: True.
LastErrorCode:
MACAddress: 00:1C:7E:D5:D3:1E.
Manufacturer: Intel.
MaxNumberControlled: 0.
MaxSpeed:
Name: Intel® 82566MC Gigabit Network Connection.
NetConnectionID: ΠΠΎΠ΄ΠΊΠ»ΡΡΠ΅Π½ΠΈΠ΅ ΠΏΠΎ Π»ΠΎΠΊΠ°Π»ΡΠ½ΠΎΠΉ ΡΠ΅ΡΠΈ.
NetConnectionStatus: 7.
NetworkAddresses: 1 243 048:
PermanentAddress:
PNPDeviceID: PCIVEN_8086&DEV_104D&SUBSYS_11 179&REV033&B1BFB68&0&C8.
PowerManagementCapabilities: 1 243 048:
PowerManagementSupported: False.
ProductName: Intel® 82566MC Gigabit Network Connection.
ServiceName: e1express.
Speed:
Status:
StatusInfo:
SystemCreationClassName: Win32_ComputerSystem.
SystemName: MICROSOF-5599EF.
TimeOfLastReset: 20 151 114 063 115.765625+120.
——-Π Π·Π°ΠΏΡΡΠ΅Π½Π½ΡΡ ΠΏΡΠΎΡΡΠ°Ρ ——-;
SystemRootSystem32smss.exe.
??C:WINDOWSsystem32winlogon.exe.
C:WINDOWSsystem32services.exe.
C:WINDOWSsystem32lsass.exe.
C:WINDOWSsystem32svchost.exe.
C:WINDOWSSystem32svchost.exe.
C:WINDOWSsystem32spoolsv.exe.
C:WINDOWSExplorer.EXE.
C:WINDOWSsystem32igfxtray.exe.
C:WINDOWSsystem32igfxsrvc.exe.
C:WINDOWSsystem32hkcmd.exe.
C:WINDOWSsystem32igfxpers.exe.
C:WINDOWSRTHDCPL.EXE.
C:WINDOWSsystem320THotkey.exe.
C:WINDOWSsystem32 hpsrv.exe.
C:WINDOWSsystem32agrsmsvc.exe.
C:Program FilesTOSHIBATouchEDTouchED.exe.
C:WINDOWSsystem32 undll32.exe.
C:Program FilesCommon FilesMicrosoft SharedVS7DEBUGMDM.EXE.
C:Documents and SettingsAll UsersApplication DataMobileBrServmbbservice.exe.
C:WINDOWSsystem32ctfmon.exe.
C:WINDOWSsystem32svchost.exe.
C:WINDOWSsystem32ThpSrv.exe.
C:Program FilesTOSHIBABluetooth MonitorBtMon2.exe.
C:Program FilesRSPrintPrintMon.exe.
C:WINDOWSSystem32svchost.exe.
C:Program FilesMicrosoft OfficeOffice12WINWORD.EXE.
C:Program FilesBorlandDelphi7Bindelphi32.exe.
C:Screenshoter.exe.
——-ΠΡΠ΅ΠΌΡ ΡΠ°Π±ΠΎΡΡ ΡΠΈΡΡΠ΅ΠΌΡ——-;
ΠΠ°ΠΏΡΡΠΊ ΡΠΈΡΡΠ΅ΠΌΡ: ΡΡΠ±Π±ΠΎΡΠ°, 14 Π½ΠΎΡΠ±ΡΡ, 2015 Π² 06:31:15.
ΠΠ°ΠΊΡΡΡΠΈΠ΅ ΡΠΈΡΡΠ΅ΠΌΡ: Π²ΠΎΡΠΊΡΠ΅ΡΠ΅Π½ΡΠ΅, 8 Π½ΠΎΡΠ±ΡΡ, 2015 Π² 12:04:35.
——-Π‘ΠΏΠΈΡΠΎΠΊ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»Π΅ΠΉ——————-;
Admin.
ΠΡΡΡΠΎΠ΅Π½Π½Π°Ρ ΡΡΠ΅ΡΠ½Π°Ρ Π·Π°ΠΏΠΈΡΡ Π°Π΄ΠΌΠΈΠ½ΠΈΡΡΡΠ°ΡΠΎΡΠ° ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΠ°/Π΄ΠΎΠΌΠ΅Π½Π° ΠΡ ΠΎΠ΄: 13.11.2015 11:20:33. ΠΡΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½.
ASPNET.
Account used for running the ASP.NET worker process (aspnet_wp.exe).
ΠΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½. ΠΡΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½.
HelpAssistant.
Π£ΡΠ΅ΡΠ½Π°Ρ Π·Π°ΠΏΠΈΡΡ Π΄Π»Ρ ΠΏΡΠ΅Π΄ΠΎΡΡΠ°Π²Π»Π΅Π½ΠΈΡ ΡΠ΄Π°Π»Π΅Π½Π½ΠΎΠΉ ΠΏΠΎΠΌΠΎΡΠΈ ΠΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½. ΠΡΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½.
SUPPORT_38 8945a0.
ΠΡΠΎ ΡΡΠ΅ΡΠ½Π°Ρ Π·Π°ΠΏΠΈΡΡ ΠΏΠΎΡΡΠ°Π²ΡΠΈΠΊΠ° Π΄Π»Ρ ΡΠ»ΡΠΆΠ±Ρ ΡΠΏΡΠ°Π²ΠΊΠΈ ΠΈ ΠΏΠΎΠ΄Π΄Π΅ΡΠΆΠΊΠΈ ΠΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½. ΠΡΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½.
ΠΠΎΡΡΡ ΠΡΡΡΠΎΠ΅Π½Π½Π°Ρ ΡΡΠ΅ΡΠ½Π°Ρ Π·Π°ΠΏΠΈΡΡ Π΄Π»Ρ Π΄ΠΎΡΡΡΠΏΠ° Π³ΠΎΡΡΠ΅ΠΉ ΠΊ ΠΊΠΎΠΌΠΏΡΡΡΠ΅ΡΡ/Π΄ΠΎΠΌΠ΅Π½Ρ ΠΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½. ΠΡΡ ΠΎΠ΄ Π½Π΅ Π·Π°ΡΠΈΠΊΡΠΈΡΠΎΠ²Π°Π½.