WiFiDirectServiceRemotePortAddedEventArgs.Protocol 属性

定义

获取用于与新远程端口通信的协议。

public:
 property WiFiDirectServiceIPProtocol Protocol { WiFiDirectServiceIPProtocol get(); };
WiFiDirectServiceIPProtocol Protocol();
public WiFiDirectServiceIPProtocol Protocol { get; }
var wiFiDirectServiceIPProtocol = wiFiDirectServiceRemotePortAddedEventArgs.protocol;
Public ReadOnly Property Protocol As WiFiDirectServiceIPProtocol

属性值

对应于要用于新远程端口的 IP 协议的枚举值。

适用于