TsgcSTUNClientProperties › STUNOptions

STUNOptions Property

STUN-specific options: FINGERPRINT, SOFTWARE attribute and Authentication credentials.

Syntax

property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;

Default Value

Remarks

Controls STUN protocol behaviour of the client:

Example

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;

Back to Properties