Share via


UdpTransportSettings.MulticastInterfaceId 屬性

定義

取得或設定可唯一識別網路介面卡的值,該網路介面卡會在傳送和接收多點傳送訊息時使用。

public:
 property System::String ^ MulticastInterfaceId { System::String ^ get(); void set(System::String ^ value); };
public string MulticastInterfaceId { get; set; }
member this.MulticastInterfaceId : string with get, set
Public Property MulticastInterfaceId As String

屬性值

String

網路介面卡識別碼。

備註

在執行階段,傳輸會使用此值查詢介面索引,接著使用介面索引設定 IP_MULTICAST_IFIPV6_MULTICAST_IF 通訊端選項。 聯結多點傳送群組時會使用相同的介面索引。 預設值是 null

適用於