TsgcSTUNClient › Eigenschaften › STUNOptions
STUN-spezifische Optionen: FINGERPRINT, SOFTWARE-Attribut und Authentifizierungsdaten.
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
Steuert das STUN-Protokollverhalten des Clients:
stcNone, stcShortTermCredentials oder stcLongTermCredentials) sowie Username/Password, die zum Signieren von Anfragen verwendet werden.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;