TsgcSTUNClientWłaściwości › STUNOptions

STUNOptions Właściwość

Opcje specyficzne dla STUN: FINGERPRINT, atrybut SOFTWARE oraz poświadczenia uwierzytelniania.

Składnia

property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;

Wartość domyślna

Uwagi

Steruje zachowaniem protokołu STUN klienta:

Przykład

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;

Wróć do Właściwości