Share via


StreamSocketListener.Information 屬性

定義

取得 StreamSocketListener 物件的通訊端資訊。

public:
 property StreamSocketListenerInformation ^ Information { StreamSocketListenerInformation ^ get(); };
StreamSocketListenerInformation Information();
public StreamSocketListenerInformation Information { get; }
var streamSocketListenerInformation = streamSocketListener.information;
Public ReadOnly Property Information As StreamSocketListenerInformation

屬性值

StreamSocketListener物件的通訊端資訊。

Windows 需求

應用程式功能
ID_CAP_NETWORKING [Windows Phone]

備註

Information屬性會取得與StreamSocketListener物件相關聯的StreamSocketListenerInformation實例。 然後,您可以使用 Information 實例來取得 StreamSocketListener所使用的資訊。 唯一支援的資訊資料是 LocalPort 屬性,代表系結至 StreamSocketListener 物件的本機 TCP 埠號碼。

適用於

另請參閱