TsgcSTUNClientProperties › STUNOptions

STUNOptions 속성

STUN 관련 옵션: FINGERPRINT, SOFTWARE 속성 및 인증 자격 증명입니다.

구문

property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;

기본값

설명

클라이언트의 STUN 프로토콜 동작을 제어합니다.

예제

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;

속성으로 돌아가기