TsgcSTUNClient › Properties › STUNOptions
STUN-specifieke opties: FINGERPRINT, SOFTWARE-attribuut en authenticatiegegevens.
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
Controls STUN protocol behaviour of the client:
stcNone, stcShortTermCredentials of stcLongTermCredentials) en de gebruikersnaam/het wachtwoord dat wordt gebruikt om verzoeken te ondertekenen.oSTUN.STUNOptions.Fingerprint := True;
oSTUN.STUNOptions.Software := True;
oSTUN.STUNOptions.Authentication.Credentials := stcLongTermCredentials;
oSTUN.STUNOptions.Authentication.Username := 'user';
oSTUN.STUNOptions.Authentication.Password := 'secret';
oSTUN.SendRequest;