Order and save right now!
20% off with the 729824315 dicscount code for Ultimate Pack and any another product for Delphi from Greatis Programming! |
⤷ Get a computer name
You can use GetComputerName procedure. For example:
procedure TForm1.Button1Click(Sender: TObject);
var
CompName: array[0..256] of Char;
i: DWord;
begin
i:=256;
GetComputerName(CompName, i);
Label1.Caption:=StrPas(CompName);
end;
-
More for developers