TsgcSTUNClient属性 › 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;

返回属性