procedure TForm1.Button3Click(Sender: TObject);
var reg:tregistry;
buffer : TByteArray = ($3c, $00, $00, $00, $01, $00, $00, $00, $01, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, 00, $0, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00);
begin
reg:=tregistry.Create;
reg.RootKey:=HKEY_CURRENT_USER;
REG.OpenKey('\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections',true) ;
Reg.WriteBinaryData('DefaultConnectionSettings', buffer[0], Length(buffer));
reg.CloseKey;
reg.Free;
end;