TsgcSTUNClient › Properties › STUNOptions
STUN 관련 옵션: FINGERPRINT, SOFTWARE 속성 및 인증 자격 증명입니다.
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
클라이언트의 STUN 프로토콜 동작을 제어합니다.
stcNone, stcShortTermCredentials 또는 stcLongTermCredentials)과 요청에 서명하는 데 사용되는 Username/Password를 선택합니다.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;