Autor Beitrag
Stevie
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 85

Windows 7
Delphi XE Professional
BeitragVerfasst: Fr 20.06.03 14:21 
Hallo,

ich möchte mit meinem Programm den PC (im Netz oder Internet), auf dem es läuft, eindeutig identifizieren können. Die erste Idee wäre, über die MAC-Adresse zu gehen, aber das funktioniert auch nicht immer. Denn man kann ja auch über USB gehen oder so. Der zweite Ansatz wäre, die ProzessorID zu ermitteln.
Hat irgend jemand eine Idee, wie ich das machen könnte und mir den Code oder einen Ansatz dafür geben?
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Fr 20.06.03 16:11 
um die prozessor ID zu ermittel nüsste auf dem PC auf dem sie ermittelt werden aoll ein kleienes Proggi laufen, dasd die übers netzwerk verschickt.

ne andre möglichkeit wäre die festplatten serial nummer anstatt der prozessor ID

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Stevie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 85

Windows 7
Delphi XE Professional
BeitragVerfasst: Fr 20.06.03 16:14 
Ja, es läuft ein Programm auf diesem PC, was das erledigen kann, Code?
ase
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 203

Gentoo, Windows 9X, ME, 2k, NT, XP
Delphi 7 Prof., PHP 5 (Eclipse 3 SDK)
BeitragVerfasst: Fr 20.06.03 21:02 
die seriennummer der platte kann man aber ändern. nur so als hinweis.

_________________
-EN
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Sa 21.06.03 09:18 
genau wie alles andere was nicht vom Server zugeteilt wurde ...

MfG BungeeBug
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 21.06.03 11:10 
also die festplatten serial bekommt man so:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
function GetSerialNumber(Const ADrive: Char): Integer;
var
  SerialNum : pdword;
  a, b : dword;
  Buffer  : array[0..255of char;
begin
  Result:=0;
  if GetVolumeInformation(PChar(ADrive+':\'), 
                          Buffer, 
                          SizeOf(Buffer), 
                          SerialNum,
                          a,
                          b,
                          nil,
                          0then
    Result:=SerialNum^;
end;

(code aus dem edh)

_________________
In the beginning was the word.
And the word was content-type: text/plain.
Stevie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 85

Windows 7
Delphi XE Professional
BeitragVerfasst: Mo 23.06.03 08:35 
Danke, vielleicht nicht die ProzessorID? Funktioniert das aus unter Linux?
kiwicht
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1021

Win 7, MacOS
Delphi x, VBA, PHP, ...
BeitragVerfasst: Mo 23.06.03 10:41 
OT
Zitat:
über die MAC-Adresse zu gehen, aber das funktioniert auch nicht immer. Denn man kann ja auch über USB gehen oder so

Wie soll das gehen, ein Netzwerk über USB? Ne einfache P2P-Verbindung vielleicht, aber doch kein Netzwerk im Sinne von TCP/IP?

//EDIT
warte auf Palladium, dann kriegste deine identifizierbaren PC's... :roll:
Stevie Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 85

Windows 7
Delphi XE Professional
BeitragVerfasst: Mo 23.06.03 11:20 
Nein, ich meinte, es gibt doch auch Möglichkeiten, ins Internet zu gelangen, ohne ne Netzwerk- oder ISDN-Karte zu haben (und somit eine MAC-Adresse) Oooder? :?
foxy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 814

Ubuntu, Gentoo
C++, PHP, Java, Ruby, Perl (Eclipse)
BeitragVerfasst: Mo 23.06.03 12:22 
also meines wissens, kommst du nich anders ins i-net ,
da wenn du ein modem anschliesst, an usb oder seriell port, übernimmt das modem die aufgabe, was normal deine isdn oder netzwerkkarte gemacht hätte somit kannst du das auch eindeutig zuordnen .... hier in der firma wo ich bin,
wird ein fingerprint gemcht d.h. jeder rechner wird hier gecheckt auf die adresse von der netzwerkkarte. also nich die ip sondern das issn ka 17 stellige zahl etc. mit hilfe von der kann man feststellen, welcher rechner on iss

_________________
"Only wimps use tape backup: real men just upload their important stuff on ftp, and let the rest of the world mirror it." (Linus Torvalds)
OperatingSystem Laptop (Ubuntu Hardy)