Re: delphi 10.3: COM interface --> Import type libray
WinSCP .NET assembly uses IDispatch (late binding). So it does not expose the method and property names.
TSessionOptions
no find Protocol
, HostName
etc properties
// *********************************************************************//
TSessionOptions = class(TOleServer)
private
FIntf: _SessionOptions;
function GetDefaultInterface: _SessionOptions;
protected
procedure InitServerData; override;
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
procedure Connect; override;
procedure ConnectTo(svrIntf: _SessionOptions);
procedure Disconnect; override;
property DefaultInterface: _SessionOptions read GetDefaultInterface;
published
end;