TsgcSTUNClient › Proprietà › STUNOptions
Opzioni specifiche di STUN: attributo FINGERPRINT, SOFTWARE e credenziali di autenticazione.
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
Controlla il comportamento del protocollo STUN del client:
stcNone, stcShortTermCredentials o stcLongTermCredentials) e il nome utente/password utilizzati per firmare le richieste.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;