TsgcSTUNClient › Właściwości › STUNOptions
Opcje specyficzne dla STUN: FINGERPRINT, atrybut SOFTWARE oraz poświadczenia uwierzytelniania.
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
Steruje zachowaniem protokołu STUN klienta:
stcNone, stcShortTermCredentials lub stcLongTermCredentials) oraz nazwę użytkownika i hasło używane do podpisywania żądań.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;