UniGUI获取客户端Client信息

需要uses UniGUIApplication

var
  C : TUniClientInfoRec;
begin
  UniLabel7.Caption:=UniApplication.RemoteAddress;

  C:=UniApplication.ClientInfoRec;

  UniLabel6.Caption:=C.BrowserType;
  UniLabel4.Caption:=IntToStr(C.BrowserVersion);
  UniLabel5.Caption:=C.OSType;

end;

 

posted @ 2016-11-26 10:55  空水瓶  阅读(941)  评论(0编辑  收藏  举报