TsgcSTUNClient › プロパティ › STUNOptions
STUN 固有のオプション: FINGERPRINT、SOFTWARE 属性、および認証クレデンシャル。
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
クライアントの STUN プロトコルの動作を制御します:
stcNone、stcShortTermCredentials、または stcLongTermCredentials)およびリクエストに署名するためのユーザー名/パスワード。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;