TAstaServerSocket.OnAstaClientUpdateDecide


 

Applies to
TAstaServerSocket

 

Declaration
type TAstaClientUpgradeDecideEvent = procedure(Sender: TObject;
  ClientSocket: TCustomWinSocket; AppName, OldVer,
  UserName:
string; var AllowUpgrade: Boolean) of object;

property OnAstaClientUpateDecide: TAstaClientUpgradeDecideEvent;


Description
The OnAstaClientUpdateDecide event allows you to control whether remote clients have a new client exe streamed down to them. The ApplicationName, OldVer and UserName arguments are passed to the event and it's up to you to set the AllowUpgrade argument to False. The default is True to allow for upgrades.



ASTA Overview